From 52ffb8b219356ba43a46bf481f2d3fddff472baf Mon Sep 17 00:00:00 2001 From: shpuld Date: Mon, 25 Feb 2019 18:15:13 +0200 Subject: [PATCH] adjust gallery/attachments --- src/components/attachment/attachment.vue | 2 +- src/components/gallery/gallery.vue | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index 7cd67144..76affe2d 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -88,7 +88,7 @@ .attachment { position: relative; - // margin: 0.5em 0.5em 0em 0em; + margin-top: 0.5em; align-self: flex-start; line-height: 0; diff --git a/src/components/gallery/gallery.vue b/src/components/gallery/gallery.vue index ed0ef137..2366ddf7 100644 --- a/src/components/gallery/gallery.vue +++ b/src/components/gallery/gallery.vue @@ -30,12 +30,15 @@ margin-bottom: 0.25em; .attachments, .attachment { - // margin: 0 0.5em 0 0; + margin: 0 0.5em 0 0; flex-grow: 1; height: 100%; box-sizing: border-box; // to make failed images a bit more noticeable on chromium min-width: 2em; + &:last-child { + margin: 0; + } } .image-attachment {