From 300f8705efc4eac0ba9ad15fbae5bd2c3eea3f78 Mon Sep 17 00:00:00 2001 From: AnNingUI Date: Sat, 16 Aug 2025 13:49:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=88=91=E7=9A=84?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E7=95=8C=E9=9D=A2=E4=B8=AD=E7=9A=84header?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E7=B2=98=E6=80=A7=E5=B8=83=E5=B1=80=E7=9A=84?= =?UTF-8?q?bug=E4=BB=A5=E5=8F=8A=E8=A7=A3=E5=86=B3=E4=BA=86=E4=B8=80?= =?UTF-8?q?=E4=BA=9B-webkit=E6=A0=B7=E5=BC=8F=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixed: #588 --- frontend_nuxt/pages/index.vue | 1 + frontend_nuxt/pages/message.vue | 2 ++ frontend_nuxt/pages/posts/[id]/index.vue | 1 + 3 files changed, 4 insertions(+) diff --git a/frontend_nuxt/pages/index.vue b/frontend_nuxt/pages/index.vue index 1a6262d3c..bb8eee891 100644 --- a/frontend_nuxt/pages/index.vue +++ b/frontend_nuxt/pages/index.vue @@ -536,6 +536,7 @@ const sanitizeDescription = (text) => stripMarkdown(text) font-size: 14px; color: gray; display: -webkit-box; + line-clamp: 3; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; diff --git a/frontend_nuxt/pages/message.vue b/frontend_nuxt/pages/message.vue index ef78a6050..9b189526f 100644 --- a/frontend_nuxt/pages/message.vue +++ b/frontend_nuxt/pages/message.vue @@ -636,6 +636,8 @@ onActivated(() => { .message-page { background-color: var(--background-color); overflow-x: hidden; + height: calc(100vh - var(--header-height)); + overflow-y: auto; } .message-page-header { diff --git a/frontend_nuxt/pages/posts/[id]/index.vue b/frontend_nuxt/pages/posts/[id]/index.vue index ecfa18e5a..9b59a28e9 100644 --- a/frontend_nuxt/pages/posts/[id]/index.vue +++ b/frontend_nuxt/pages/posts/[id]/index.vue @@ -867,6 +867,7 @@ onMounted(async () => { direction: ltr; height: 300px; width: 2px; + appearance: none; -webkit-appearance: none; background: transparent; }