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 4ecc4a6 commit 8345551
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/custom.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.md-header{
background-color: #4051B5;
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 8345551

Please sign in to comment.