From c713af8e23eef585dc3468806d5be8acfd608d8d Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 19 May 2023 18:16:26 +0900 Subject: [PATCH] refactor --- .../frontend/src/components/MkUserInfo.vue | 2 +- packages/frontend/src/pages/clip.vue | 45 +++++++++---------- 2 files changed, 21 insertions(+), 26 deletions(-) diff --git a/packages/frontend/src/components/MkUserInfo.vue b/packages/frontend/src/components/MkUserInfo.vue index f560ebcd8..fea3842a5 100644 --- a/packages/frontend/src/components/MkUserInfo.vue +++ b/packages/frontend/src/components/MkUserInfo.vue @@ -105,7 +105,7 @@ defineProps<{ .mfm { display: -webkit-box; -webkit-line-clamp: 3; - -webkit-box-orient: vertical; + -webkit-box-orient: vertical; overflow: hidden; } diff --git a/packages/frontend/src/pages/clip.vue b/packages/frontend/src/pages/clip.vue index 654c44ae0..d5313099d 100644 --- a/packages/frontend/src/pages/clip.vue +++ b/packages/frontend/src/pages/clip.vue @@ -2,15 +2,15 @@ -
-
-
+
+
+
- {{ clip.favoritedCount }} - {{ clip.favoritedCount }} -
- + {{ clip.favoritedCount }} + {{ clip.favoritedCount }} +
+
@@ -147,25 +147,20 @@ definePageMetadata(computed(() => clip ? { } : null)); -