From 001f6377d40a483dbeeb2ce38915fd9c1c41f711 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=A1=E3=82=83=E3=81=A8=E3=83=BC?= =?UTF-8?q?=E3=81=AB=E3=82=85?= <17376330+u1-liquid@users.noreply.github.com> Date: Wed, 23 Aug 2023 00:59:45 +0900 Subject: [PATCH] =?UTF-8?q?enhance:=20=E3=83=80=E3=82=A4=E3=82=A2=E3=83=AD?= =?UTF-8?q?=E3=82=B0=E3=81=AE=E3=81=8A=E7=9F=A5=E3=82=89=E3=81=9B=E3=81=AB?= =?UTF-8?q?=E3=82=82=E7=94=BB=E5=83=8F=E3=81=8C=E3=81=82=E3=82=8B=E5=A0=B4?= =?UTF-8?q?=E5=90=88=E8=A6=8B=E3=81=9B=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=20(MisskeyIO#157)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../frontend/src/components/MkAnnouncementDialog.vue | 11 ++++++++++- packages/frontend/src/pages/announcements.vue | 3 ++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/components/MkAnnouncementDialog.vue b/packages/frontend/src/components/MkAnnouncementDialog.vue index 0888ca3185..69fc248779 100644 --- a/packages/frontend/src/components/MkAnnouncementDialog.vue +++ b/packages/frontend/src/components/MkAnnouncementDialog.vue @@ -15,7 +15,10 @@ SPDX-License-Identifier: AGPL-3.0-only -
+
+ + +
{{ i18n.ts.gotIt }} ({{ sec }}) @@ -109,6 +112,7 @@ onMounted(() => { } .header { + font-weight: bold; font-size: 120%; } @@ -118,5 +122,10 @@ onMounted(() => { .content { margin: 1em 0; + > img { + display: block; + max-height: 300px; + max-width: 100%; + } } diff --git a/packages/frontend/src/pages/announcements.vue b/packages/frontend/src/pages/announcements.vue index 8b54cb28d9..fc292551fb 100644 --- a/packages/frontend/src/pages/announcements.vue +++ b/packages/frontend/src/pages/announcements.vue @@ -25,7 +25,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
@@ -137,6 +137,7 @@ watch(() => $i?.unreadAnnouncements.length ?? 0, () => { .header { margin-bottom: 16px; font-weight: bold; + font-size: 120%; } .content {