Cleanup of styles

Fixed an issue where searching on a tag would cause the photo list to
stretch outside the screen bounds on smaller screen sizes.