Skip to content

Commit

Permalink
feat(editor): scrollbar style for firefox (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangcch authored Feb 18, 2025
1 parent 29c8137 commit bbc740b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/editor/FileSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,13 @@ function horizontalScroll(e: WheelEvent) {
background-color: var(--color-branding);
}
@-moz-document url-prefix() {
.file-selector {
scrollbar-width: thin;
scrollbar-color: var(--color-branding) var(--border);
}
}
.file-selector.has-import-map .add {
margin-right: 10px;
}
Expand Down

0 comments on commit bbc740b

Please sign in to comment.