Skip to content

Commit

Permalink
CSS - Update style for Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
swisskyrepo committed Dec 4, 2023
1 parent 1c42bfe commit 4a66a4e
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion custom.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.md-header{
background-color: #023342;
background-color: #841F36;
}

@media screen and (min-width: 790px) {
Expand All @@ -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)
}
}

0 comments on commit 4a66a4e

Please sign in to comment.