CSS fix for gallery.