From 2aef82a80e59bce395c5b2687594256ba9e712f0 Mon Sep 17 00:00:00 2001 From: shpuld Date: Wed, 6 Feb 2019 21:30:46 +0200 Subject: [PATCH] Start redoing all paddings/margins --- src/App.scss | 8 +- src/components/attachment/attachment.vue | 2 +- src/components/gallery/gallery.vue | 2 +- src/components/link-preview/link-preview.vue | 2 +- src/components/status/status.vue | 80 +++++++++++--------- 5 files changed, 52 insertions(+), 42 deletions(-) diff --git a/src/App.scss b/src/App.scss index d3721b32..93d7edb4 100644 --- a/src/App.scss +++ b/src/App.scss @@ -660,6 +660,10 @@ nav { border-radius: var(--inputRadius, $fallback--inputRadius); } +.button-icon { + font-size: 1.2em; +} + @keyframes shakeError { 0% { transform: translateX(0); @@ -704,10 +708,6 @@ nav { margin: 0.5em 0 0.5em 0; } - .button-icon { - font-size: 1.2em; - } - .status .status-actions { div { max-width: 4em; diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index 7e972026..7cd67144 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: 0.5em 0.5em 0em 0em; align-self: flex-start; line-height: 0; diff --git a/src/components/gallery/gallery.vue b/src/components/gallery/gallery.vue index 3f90caa9..ed0ef137 100644 --- a/src/components/gallery/gallery.vue +++ b/src/components/gallery/gallery.vue @@ -30,7 +30,7 @@ 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; diff --git a/src/components/link-preview/link-preview.vue b/src/components/link-preview/link-preview.vue index e4a247c5..deb5b44c 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.5em; + // margin-right: 0.5em; .card-image { flex-shrink: 0; diff --git a/src/components/status/status.vue b/src/components/status/status.vue index f14115fc..77f388dc 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -32,20 +32,20 @@
-
+
-
-
-