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; +}