From 592c1cfd780ea8d5e9523a9875be698501293dc8 Mon Sep 17 00:00:00 2001 From: shpuld Date: Tue, 21 Nov 2017 10:30:30 +0200 Subject: [PATCH] Fix padding at user card bottom, mismatching border-radii. Sneak in fixes for attachment previews. --- src/components/attachment/attachment.vue | 4 +--- src/components/post_status_form/post_status_form.vue | 8 +++++++- src/components/user_card/user_card.vue | 7 ++++++- src/components/user_card_content/user_card_content.vue | 1 - 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index 20d10cce1d..7a5923b4be 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -82,9 +82,7 @@ img.media-upload { margin-bottom: -2px; max-height: 300px; - width: 100%; - height: 100%; - flex: 1; + max-width: 100%; } .oembed { diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index d02102860e..a000065409 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,6 +40,12 @@ diff --git a/src/components/user_card_content/user_card_content.vue b/src/components/user_card_content/user_card_content.vue index d49a7d6cc3..4c40c55f64 100644 --- a/src/components/user_card_content/user_card_content.vue +++ b/src/components/user_card_content/user_card_content.vue @@ -102,7 +102,6 @@ .profile-panel-body { top: -0em; padding-top: 4em; - word-wrap: break-word; }