Skip to content

Commit 5adc46c

Browse files
committed
ui: scrollbar styling
1 parent 6cfcb2b commit 5adc46c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

ui/app/assets/css/main.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,22 @@ html, body {
55
overflow: hidden; /* forbid scrolling */
66
}
77

8+
/* Scrolbar Styling */
9+
::-webkit-scrollbar {
10+
width: 8px;
11+
height: 8px;
12+
}
13+
::-webkit-scrollbar-thumb {
14+
background-color: var(--p-button-primary-background);
15+
border-radius: 8px;
16+
}
17+
::-webkit-scrollbar-track {
18+
background-color: transparent;
19+
}
20+
::-webkit-scrollbar-button {
21+
width: 0;
22+
height: 0;
23+
}
24+
::-webkit-scrollbar-corner {
25+
background-color: transparent;
26+
}

0 commit comments

Comments
 (0)