mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added nicer scrollbars for Firefox (#1686)
Firefox supports `scrollbar-width` styling and `scrollbar-width: thin;` looks much closer to how the custom scrollbars on Chrome look. Note: I haven't tested building the theme with this change, but I have tested using this directly in the browser and it looks great.
This commit is contained in:
parent
1fbaf52891
commit
30b4d554d7
@ -205,6 +205,7 @@ kbd {
|
||||
box-shadow: none;
|
||||
box-decoration-break: slice;
|
||||
touch-action: auto;
|
||||
scrollbar-width: thin;
|
||||
|
||||
// Override native scrollbar styles
|
||||
&::-webkit-scrollbar {
|
||||
|
Loading…
Reference in New Issue
Block a user