mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-13 22:32:35 +00:00
Remove the WebKit-specific scrollbar styling altogether
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.
This commit is contained in:
parent
1ba2c063e0
commit
dcc9efea0a
1 changed files with 0 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue