From 7a07d21b7651983e2d10be61735905010fc6c1cc Mon Sep 17 00:00:00 2001 From: Ayaka Rizumu <464388324@qq.com> Date: Wed, 7 Dec 2022 00:37:58 +0800 Subject: [PATCH] fix: style overflow due to user content (#355) --- components/account/AccountHeader.vue | 4 ++-- components/account/AccountInfo.vue | 6 +++++- components/account/AccountInlineInfo.vue | 6 +++++- components/common/CommonMetaWrapper.vue | 2 +- components/conversation/ConversationCard.vue | 2 +- components/modal/ModalContainer.vue | 3 ++- components/notification/NotificationCard.vue | 8 ++++++-- components/publish/PublishWidget.vue | 10 +++++----- components/status/StatusAccountDetails.vue | 6 +++++- components/status/StatusCard.vue | 6 +++--- components/status/StatusReplyingTo.vue | 6 +++--- components/status/edit/StatusEditPreview.vue | 6 ++++-- components/user/UserSwitcher.vue | 2 +- locales/en-US.json | 2 ++ styles/global.css | 3 ++- unocss.config.ts | 4 +++- 16 files changed, 50 insertions(+), 26 deletions(-) diff --git a/components/account/AccountHeader.vue b/components/account/AccountHeader.vue index cbfd137b..040c5fee 100644 --- a/components/account/AccountHeader.vue +++ b/components/account/AccountHeader.vue @@ -101,14 +101,14 @@ watchEffect(() => {
-
+
+
- {{ $t('notification.followed_you') }} + + {{ $t('notification.followed_you') }} +
@@ -42,7 +44,9 @@ const { notification } = defineProps<{
- {{ $t('notification.update_status') }} + + {{ $t('notification.update_status') }} + diff --git a/components/publish/PublishWidget.vue b/components/publish/PublishWidget.vue index 668e1aae..3aa82d70 100644 --- a/components/publish/PublishWidget.vue +++ b/components/publish/PublishWidget.vue @@ -159,14 +159,14 @@ const { isOverDropZone } = useDropZone(dropZoneRef, onDrop)
- -
+
+
@@ -180,11 +180,11 @@ const { isOverDropZone } = useDropZone(dropZoneRef, onDrop) >
- -
+
diff --git a/components/status/StatusAccountDetails.vue b/components/status/StatusAccountDetails.vue index a08a7d46..01adc82d 100644 --- a/components/status/StatusAccountDetails.vue +++ b/components/status/StatusAccountDetails.vue @@ -13,7 +13,11 @@ const { account, link = true } = defineProps<{ flex="~ col" min-w-0 md:flex="~ row gap-2" md:items-center text-link-rounded > - + diff --git a/components/status/StatusCard.vue b/components/status/StatusCard.vue index aac23c8a..a7527f70 100644 --- a/components/status/StatusCard.vue +++ b/components/status/StatusCard.vue @@ -62,7 +62,7 @@ const avatarOnAvatar = $(computedEager(() => useFeatureFlags().experimentalAvata