From 07a46f7736eb881a62669f27af355713f28bee78 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sun, 10 Mar 2019 01:56:21 +0100 Subject: [PATCH 1/2] =?UTF-8?q?user=5Fcard.vue:=20Set=20img.emoji=20to=203?= =?UTF-8?q?2=C3=9732px?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Related to https://git.pleroma.social/pleroma/pleroma/merge_requests/792 --- src/components/user_card/user_card.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue index cc2ce6b8..7ea96e80 100644 --- a/src/components/user_card/user_card.vue +++ b/src/components/user_card/user_card.vue @@ -159,6 +159,11 @@ &-bio { text-align: center; + + img.emoji { + width: 32px; + height: 32px; + } } // Modifiers From d0e78df22062105435f81b1d147434af8cce1530 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Mon, 11 Mar 2019 05:14:49 +0100 Subject: [PATCH 2/2] user_card.vue: Copy over .status-content img styling --- src/components/user_card/user_card.vue | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue index 7ea96e80..002cb48f 100644 --- a/src/components/user_card/user_card.vue +++ b/src/components/user_card/user_card.vue @@ -160,9 +160,16 @@ &-bio { text-align: center; - img.emoji { - width: 32px; - height: 32px; + img { + object-fit: contain; + vertical-align: middle; + max-width: 100%; + max-height: 400px; + + .emoji { + width: 32px; + height: 32px; + } } }