CSS - Update style for Chrome

This commit is contained in:
Swissky 2023-12-04 10:46:10 +01:00
parent 1c42bfe5ca
commit 4a66a4ed25

View File

@ -1,5 +1,5 @@
.md-header{ .md-header{
background-color: #023342; background-color: #841F36;
} }
@media screen and (min-width: 790px) { @media screen and (min-width: 790px) {
@ -10,4 +10,19 @@
.md-sidebar{ .md-sidebar{
width: auto; 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)
}
} }