aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2019-01-30 19:45:15 +0000
committerShpuld Shpludson <shp@cock.li>2019-01-30 19:45:15 +0000
commitfbe7af3d56e4e6e168208a511bd7cd4e4e4e7a40 (patch)
tree9dc3df184671d87ba9f827fdb5e4c333570fdefb
parent5b7b1dfebc37bd5db4e839973062b452b02c898d (diff)
parentaaa5f1a6383d07b9fa80625a0dc4d16cb654cd5a (diff)
Merge branch 'fix/css-margin-adjustments-for-attachments' into 'develop'
Adjust margins for attachments/previews See merge request pleroma/pleroma-fe!501
-rw-r--r--src/components/gallery/gallery.vue3
-rw-r--r--src/components/link-preview/link-preview.vue2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/components/gallery/gallery.vue b/src/components/gallery/gallery.vue
index 20e8ab2f..3f90caa9 100644
--- a/src/components/gallery/gallery.vue
+++ b/src/components/gallery/gallery.vue
@@ -27,12 +27,15 @@
align-content: stretch;
flex-grow: 1;
margin-top: 0.5em;
+ margin-bottom: 0.25em;
.attachments, .attachment {
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;
}
.image-attachment {
diff --git a/src/components/link-preview/link-preview.vue b/src/components/link-preview/link-preview.vue
index 9b3f2550..e4a247c5 100644
--- a/src/components/link-preview/link-preview.vue
+++ b/src/components/link-preview/link-preview.vue
@@ -26,7 +26,7 @@
// TODO: clean up the random margins in attachments, this makes preview line
// up with attachments...
- margin-right: 0.7em;
+ margin-right: 0.5em;
.card-image {
flex-shrink: 0;