Adjusted styling to better account for thumbnails