Update search result layout and styling for gallery and text views