From 4e07b89bcfb821afb65d39eb389bcb0b4de697c8 Mon Sep 17 00:00:00 2001 From: shpuld Date: Tue, 21 Nov 2017 10:52:09 +0200 Subject: [PATCH] not so \!important after all --- src/components/attachment/attachment.vue | 7 +++++++ src/components/post_status_form/post_status_form.vue | 7 +------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index 7a5923b4..57ff2625 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -34,6 +34,13 @@ display: flex; flex-wrap: wrap; margin-right: -0.7em; + + .attachment.media-upload-container { + flex: 0 0 auto; + max-height: 300px; + max-width: 100%; + } + .attachment { flex: 1 0 30%; margin: 0.5em 0.7em 0.6em 0.0em; diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index a0000654..19a00aeb 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -25,7 +25,7 @@
-
+
@@ -40,11 +40,6 @@