Skip to content

Commit f4e85c3

Browse files
committed
feat: add custom scrollbar styles for better UI experience
1 parent 9f71c6f commit f4e85c3

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

app/assets/css/tailwind.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@
115115
@layer base {
116116
* {
117117
@apply border-border outline-ring/50;
118+
scrollbar-width: thin;
119+
scrollbar-color: var(--border) transparent;
118120
}
119121
body {
120122
@apply bg-background text-foreground;
@@ -132,4 +134,15 @@
132134
label {
133135
@apply cursor-pointer;
134136
}
137+
138+
::-webkit-scrollbar {
139+
width: 5px;
140+
}
141+
::-webkit-scrollbar-track {
142+
background: transparent;
143+
}
144+
::-webkit-scrollbar-thumb {
145+
background: var(--border);
146+
border-radius: 5px;
147+
}
135148
}

0 commit comments

Comments
 (0)