From 304689614daa96595aeeeed8e46e5dfa992ef2df Mon Sep 17 00:00:00 2001 From: unknown <qq1940665526@163.com> Date: 星期一, 17 六月 2024 17:33:33 +0800 Subject: [PATCH] 优化 --- src/books/mathBook/assets/main.less | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/src/books/mathBook/assets/main.less b/src/books/mathBook/assets/main.less index b390996..4fc2485 100644 --- a/src/books/mathBook/assets/main.less +++ b/src/books/mathBook/assets/main.less @@ -841,3 +841,26 @@ } } } + + +::-webkit-scrollbar { + width: 8px; + height: 10px; +} + +::-webkit-scrollbar-track-piece { + background-color: rgba(0, 0, 0, 0.1); + -webkit-border-radius: 6px; +} + +::-webkit-scrollbar-thumb:vertical { + height: 5px; + background-color: rgba(125, 125, 125, 0.3); + -webkit-border-radius: 6px; +} + +::-webkit-scrollbar-thumb:horizontal { + width: 5px; + background-color: rgba(125, 125, 125, 0.3); + -webkit-border-radius: 6px; +} \ No newline at end of file -- Gitblit v1.9.1