From 07a46f7736eb881a62669f27af355713f28bee78 Mon Sep 17 00:00:00 2001
From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
Date: Sun, 10 Mar 2019 01:56:21 +0100
Subject: user_card.vue: Set img.emoji to 32×32px
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(+)

(limited to 'src/components/user_card/user_card.vue')

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
-- 
cgit v1.2.3-70-g09d2


From d0e78df22062105435f81b1d147434af8cce1530 Mon Sep 17 00:00:00 2001
From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
Date: Mon, 11 Mar 2019 05:14:49 +0100
Subject: user_card.vue: Copy over .status-content img styling

---
 src/components/user_card/user_card.vue | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

(limited to 'src/components/user_card/user_card.vue')

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;
+      }
     }
   }
 
-- 
cgit v1.2.3-70-g09d2

