Update scrollbar resets

soper-book
Alex Shpak 2020-03-11 23:04:42 +01:00
parent 7259e4d9a8
commit 392f75d2c7
1 changed files with 11 additions and 0 deletions

View File

@ -1,6 +1,7 @@
@import "defaults";
@import "variables";
// Webkit
::-webkit-scrollbar {
width: $padding-8;
}
@ -13,3 +14,13 @@
:hover::-webkit-scrollbar-thumb {
background: $gray-500;
}
// MS
body {
-ms-overflow-style: -ms-autohiding-scrollbar
}
// Future
.book-menu nav {
scrollbar-color: transparent $gray-500;
}