CSS - Update style for Chrome

pull/24/head
Swissky 2023-12-04 10:46:36 +01:00
parent 4ecc4a647e
commit 834555194f
1 changed files with 16 additions and 1 deletions

View File

@ -1,5 +1,5 @@
.md-header{ .md-header{
background-color: #4051B5; 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)
}
} }