From 7ebb384f014ead2b1a2edb4ed069d0396f036bab Mon Sep 17 00:00:00 2001 From: Frost-ZX Date: Sat, 18 Jul 2026 19:37:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E6=9D=A1=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/renderer/src/App.vue | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/app/src/renderer/src/App.vue b/app/src/renderer/src/App.vue index f24c282..7cb6c31 100644 --- a/app/src/renderer/src/App.vue +++ b/app/src/renderer/src/App.vue @@ -153,4 +153,28 @@ body, grid-template-columns: 1fr; } } + +/* 全局滚动条样式 */ +* { + scrollbar-width: thin; + scrollbar-color: rgba(144, 147, 153, 0.5) transparent; +} +::-webkit-scrollbar { + width: 8px; + height: 8px; +} +::-webkit-scrollbar-track { + background-color: transparent; +} +::-webkit-scrollbar-thumb { + background-color: rgba(144, 147, 153, 0.5); + border-radius: 4px; +} +::-webkit-scrollbar-thumb:hover { + background-color: rgba(144, 147, 153, 0.8); +} +::-webkit-scrollbar-corner { + display: none; + background-color: transparent; +}