Skip to content

Commit bbc740b

Browse files
authored
feat(editor): scrollbar style for firefox (#320)
1 parent 29c8137 commit bbc740b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: src/editor/FileSelector.vue

+7
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,13 @@ function horizontalScroll(e: WheelEvent) {
198198
background-color: var(--color-branding);
199199
}
200200
201+
@-moz-document url-prefix() {
202+
.file-selector {
203+
scrollbar-width: thin;
204+
scrollbar-color: var(--color-branding) var(--border);
205+
}
206+
}
207+
201208
.file-selector.has-import-map .add {
202209
margin-right: 10px;
203210
}

0 commit comments

Comments
 (0)