From cb75d01fd30e7e9e42dca62f05a1f5270a081018 Mon Sep 17 00:00:00 2001 From: one Date: Wed, 28 May 2025 23:55:12 +0800 Subject: [PATCH] fix(style): global cursor style for scrollbar thumb --- src/renderer/src/assets/styles/scrollbar.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderer/src/assets/styles/scrollbar.scss b/src/renderer/src/assets/styles/scrollbar.scss index 8e73054c38..cfe3497a18 100644 --- a/src/renderer/src/assets/styles/scrollbar.scss +++ b/src/renderer/src/assets/styles/scrollbar.scss @@ -24,6 +24,7 @@ body[theme-mode='light'] { } ::-webkit-scrollbar-thumb { + cursor: pointer; border-radius: 10px; background: var(--color-scrollbar-thumb); &:hover { @@ -32,6 +33,7 @@ body[theme-mode='light'] { } pre:not(.shiki)::-webkit-scrollbar-thumb { + cursor: pointer; border-radius: 0; background: rgba(0, 0, 0, 0.08); &:hover {