aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2019-06-25 16:30:21 +0000
committerShpuld Shpludson <shp@cock.li>2019-06-25 16:30:21 +0000
commita6bcd56c9f731e28e5da1dd334c7f3564000e638 (patch)
tree2f2da27c6032317b77c014a34e7c6fe2e7462b4f /src
parent8d33832fe1fc7e26b3d3960bfa1406df29133811 (diff)
parentb059deb551c25ca08871bce9d089ddd509e9b2e1 (diff)
Merge branch 'fix/gallery-margin-fix' into 'develop'
fix specificity that made attachments misalign See merge request pleroma/pleroma-fe!855
Diffstat (limited to 'src')
-rw-r--r--src/components/gallery/gallery.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/gallery/gallery.vue b/src/components/gallery/gallery.vue
index ea525c95..f0433f10 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%;