From aae8bd2f150298c9047f99365f4bc0ec4541b7fc Mon Sep 17 00:00:00 2001 From: John Smith Date: Sun, 24 Nov 2024 20:18:56 +0800 Subject: [PATCH] =?UTF-8?q?SC=E5=9B=BA=E5=AE=9A=E6=A0=8F=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../css/youtube/yt-live-chat-ticker-renderer.css | 4 +++- frontend/src/components/ChatRenderer/Ticker.vue | 12 +++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/frontend/src/assets/css/youtube/yt-live-chat-ticker-renderer.css b/frontend/src/assets/css/youtube/yt-live-chat-ticker-renderer.css index 598a207..f3b3cef 100644 --- a/frontend/src/assets/css/youtube/yt-live-chat-ticker-renderer.css +++ b/frontend/src/assets/css/youtube/yt-live-chat-ticker-renderer.css @@ -22,7 +22,9 @@ yt-live-chat-ticker-renderer { #items.yt-live-chat-ticker-renderer { height: 32px; - overflow: hidden; + /* 为了支持滚动 */ + /* overflow: hidden; */ + overflow: visible; white-space: nowrap; padding: 0 24px 8px 24px; } diff --git a/frontend/src/components/ChatRenderer/Ticker.vue b/frontend/src/components/ChatRenderer/Ticker.vue index 3d7d500..5fb743b 100644 --- a/frontend/src/components/ChatRenderer/Ticker.vue +++ b/frontend/src/components/ChatRenderer/Ticker.vue @@ -1,6 +1,6 @@