Skip to content

Commit 0900aaa

Browse files
committed
Used standard scrollbar styles
1 parent 4267454 commit 0900aaa

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

packages/plugin/src/styles/base/core.css

+5-12
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,12 @@ html {
2626
}
2727

2828
/* === Scrollbars === */
29+
/* https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-color */
30+
/* https://developer.chrome.com/docs/css-ui/scrollbar-styling */
2931

30-
::-webkit-scrollbar {
31-
@apply w-2;
32-
@apply h-2;
33-
}
34-
::-webkit-scrollbar-track {
35-
@apply !bg-surface-50-900-token px-[1px];
36-
}
37-
::-webkit-scrollbar-thumb {
38-
@apply rounded-token bg-surface-400-500-token;
39-
}
40-
::-webkit-scrollbar-corner {
41-
@apply !bg-surface-50-900-token;
32+
:root {
33+
scrollbar-color: rgba(128, 128, 128, 0.5) rgba(0, 0, 0, 0.1); /* thumb / track */
34+
scrollbar-width: thin;
4235
}
4336

4437
/* Firefox */

0 commit comments

Comments
 (0)