Skip to content

Commit 4a66a4e

Browse files
committed
CSS - Update style for Chrome
1 parent 1c42bfe commit 4a66a4e

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

custom.css

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.md-header{
2-
background-color: #023342;
2+
background-color: #841F36;
33
}
44

55
@media screen and (min-width: 790px) {
@@ -10,4 +10,19 @@
1010
.md-sidebar{
1111
width: auto;
1212
}
13+
}
14+
15+
/* Fix padding Chrome browsers */
16+
@supports selector(::-webkit-scrollbar) {
17+
.md-sidebar__scrollwrap {
18+
scrollbar-gutter: auto
19+
}
20+
21+
[dir=ltr] .md-sidebar__inner {
22+
padding-right: 0;
23+
}
24+
25+
[dir=rtl] .md-sidebar__inner {
26+
padding-left: calc(100% - 11.5rem)
27+
}
1328
}

0 commit comments

Comments
 (0)