Skip to content

Commit

Permalink
Remove the WebKit-specific scrollbar styling altogether
Browse files Browse the repository at this point in the history
It is preferable to remove WebKit-specific styling and use the browser
and OS default scrollbars.
Thanks to comments from @julianfortune, @arniu, and @ehuss.

Closes #1483.
  • Loading branch information
noritada committed Jan 18, 2023
1 parent 1ba2c06 commit dcc9efe
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/theme/css/chrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@

@import 'variables.css';

::-webkit-scrollbar {
background: var(--bg);
width: 8px;
}
::-webkit-scrollbar-thumb {
background: var(--scrollbar);
border-radius: 4px;
}
html {
scrollbar-color: var(--scrollbar) var(--bg);
}
Expand Down

0 comments on commit dcc9efe

Please sign in to comment.