From 244ea9593a799348d2c36b6846df652ba3a3f1bc Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 8 Jan 2023 11:30:40 +0900 Subject: [PATCH] tweak components --- .../src/components/MkNotification.vue | 96 ++++++++++--------- packages/frontend/src/pages/about.emojis.vue | 2 +- .../frontend/src/pages/about.federation.vue | 2 +- packages/frontend/src/pages/admin/users.vue | 2 +- 4 files changed, 53 insertions(+), 49 deletions(-) diff --git a/packages/frontend/src/components/MkNotification.vue b/packages/frontend/src/components/MkNotification.vue index 2b9f9a2bb8..d5638813b4 100644 --- a/packages/frontend/src/components/MkNotification.vue +++ b/packages/frontend/src/components/MkNotification.vue @@ -1,6 +1,6 @@ @@ -263,23 +265,25 @@ useTooltip(reactionRef, (showing) => { } } - > .text { - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; + > .content { + > .text { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; - > i { - vertical-align: super; - font-size: 50%; - opacity: 0.5; - } + > i { + vertical-align: super; + font-size: 50%; + opacity: 0.5; + } - > i:first-child { - margin-right: 4px; - } + > i:first-child { + margin-right: 4px; + } - > i:last-child { - margin-left: 4px; + > i:last-child { + margin-left: 4px; + } } } } diff --git a/packages/frontend/src/pages/about.emojis.vue b/packages/frontend/src/pages/about.emojis.vue index fef5cfff6a..669b6f1264 100644 --- a/packages/frontend/src/pages/about.emojis.vue +++ b/packages/frontend/src/pages/about.emojis.vue @@ -22,7 +22,7 @@
- +
diff --git a/packages/frontend/src/pages/about.federation.vue b/packages/frontend/src/pages/about.federation.vue index 101ea2297b..e530bb49dd 100644 --- a/packages/frontend/src/pages/about.federation.vue +++ b/packages/frontend/src/pages/about.federation.vue @@ -36,7 +36,7 @@
- +
diff --git a/packages/frontend/src/pages/admin/users.vue b/packages/frontend/src/pages/admin/users.vue index babe76e4ec..c198dfdb46 100644 --- a/packages/frontend/src/pages/admin/users.vue +++ b/packages/frontend/src/pages/admin/users.vue @@ -41,7 +41,7 @@ - +