diff --git a/src/components/gallery/gallery.vue b/src/components/gallery/gallery.vue
index ea525c95c551fdae73b6b674417c9846f438b5a6..f0433f10fead6a9f7880a07ccf71d5291afecffc 100644
--- a/src/components/gallery/gallery.vue
+++ b/src/components/gallery/gallery.vue
@@ -28,7 +28,9 @@
   flex-grow: 1;
   margin-top: 0.5em;
 
-  .attachments, .attachment {
+  // FIXME: specificity problem with this and .attachments.attachment
+  // we shouldn't have the need for .image here
+  .attachment.image {
     margin: 0 0.5em 0 0;
     flex-grow: 1;
     height: 100%;