CSS - Update style for Chrome

pull/2/head
Swissky 2023-12-03 23:14:33 +01:00
parent 269dc8c971
commit a4a6cb7b91
1 changed files with 15 additions and 0 deletions

View File

@ -10,4 +10,19 @@
.md-sidebar{
width: auto;
}
}
/* Fix padding Chrome browsers */
@supports selector(::-webkit-scrollbar) {
.md-sidebar__scrollwrap {
scrollbar-gutter: auto
}
[dir=ltr] .md-sidebar__inner {
padding-right: 0;
}
[dir=rtl] .md-sidebar__inner {
padding-left: calc(100% - 11.5rem)
}
}