Skip to content

Commit

Permalink
Style scrollbarrs on Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
theacodes committed Oct 18, 2023
1 parent f477496 commit 5d5fd68
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/kc-ui/element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ const common_styles = css`
display: none !important;
}
:host {
scrollbar-width: thin;
scrollbar-color: #ae81ff #282634;
}
::-webkit-scrollbar {
position: absolute;
width: 6px;
Expand Down

0 comments on commit 5d5fd68

Please sign in to comment.