mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-15 20:36:55 +00:00
Fix scrollbars on WebKit
This commit is contained in:
parent
64d6b52bc6
commit
8fb12bbc49
3 changed files with 23 additions and 15 deletions
|
@ -244,23 +244,36 @@ nav {
|
|||
top: 0;
|
||||
height: 100vh;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
.navContainer {
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
nav::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
@media not all and (max-width: 50em) {
|
||||
/* Use media query because any change to ::-webkit-scrollbar makes it
|
||||
* impossible to restore system scrollbars */
|
||||
|
||||
nav:hover {
|
||||
scrollbar-width: initial;
|
||||
}
|
||||
nav {
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
nav:hover::-webkit-scrollbar {
|
||||
display: initial;
|
||||
nav:hover, nav:focus-within {
|
||||
scrollbar-width: initial;
|
||||
}
|
||||
|
||||
nav::-webkit-scrollbar {
|
||||
display: none;
|
||||
background-color: #D2D7E3;
|
||||
}
|
||||
|
||||
nav::-webkit-scrollbar-thumb {
|
||||
background-color: #424247;
|
||||
}
|
||||
|
||||
nav:hover::-webkit-scrollbar, nav:focus-within::-webkit-scrollbar {
|
||||
display: initial;
|
||||
}
|
||||
}
|
||||
|
||||
nav .level2 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue