Skip to content

Commit 7cce79d

Browse files
authored
feat: add scrollbar styling for Firefox (#679)
1 parent 92a9f76 commit 7cce79d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app/assets/main.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,14 @@ button {
199199
background: #404040;
200200
}
201201

202+
/* Scrollbar styling for Firefox */
203+
@supports not selector(::-webkit-scrollbar) {
204+
* {
205+
scrollbar-width: thin;
206+
scrollbar-color: var(--border) var(--bg);
207+
}
208+
}
209+
202210
/* Shiki theme colors */
203211
html.light .shiki,
204212
html.light .shiki span {

0 commit comments

Comments
 (0)