From 91db7c3307a9ac84e6de42f89a38799b15fa8d73 Mon Sep 17 00:00:00 2001 From: sliver Date: Sat, 30 Sep 2023 23:50:20 +0900 Subject: [PATCH] =?UTF-8?q?=E7=94=BB=E9=9D=A2=E3=81=AB=E8=A1=A8=E7=A4=BA?= =?UTF-8?q?=E3=81=95=E3=82=8C=E3=82=8B=E7=B5=B5=E6=96=87=E5=AD=97=E3=81=AE?= =?UTF-8?q?=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/notification/notification.scss | 3 ++- src/components/status/status.scss | 4 ++-- src/components/user_list_popover/user_list_popover.vue | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/notification/notification.scss b/src/components/notification/notification.scss index b0da18f9..1a8f5c88 100644 --- a/src/components/notification/notification.scss +++ b/src/components/notification/notification.scss @@ -1,7 +1,8 @@ @import '../../_variables.scss'; .notification-reaction-emoji { - width: 40px; + width: 100%; + height: 24px; display: inline-flex; vertical-align: middle; flex-direction: column; diff --git a/src/components/status/status.scss b/src/components/status/status.scss index e2bb98ee..24550e89 100644 --- a/src/components/status/status.scss +++ b/src/components/status/status.scss @@ -150,7 +150,7 @@ flex-wrap: wrap; img { - aspect-ratio: 1 / 1; + aspect-ratio: auto } .nowrap { @@ -293,7 +293,7 @@ margin-right: 0; .emoji { - width: 14px; + width: auto; height: 14px; vertical-align: middle; object-fit: contain; diff --git a/src/components/user_list_popover/user_list_popover.vue b/src/components/user_list_popover/user_list_popover.vue index bdc3aa92..fcf49854 100644 --- a/src/components/user_list_popover/user_list_popover.vue +++ b/src/components/user_list_popover/user_list_popover.vue @@ -67,7 +67,8 @@ min-width: 5em; img { - width: 1em; + //絵文字サイズ対応 + //width: 1em; height: 1em; } }