From 4a66a4ed2536f1cf6c948e2026b41ec483af90fe Mon Sep 17 00:00:00 2001 From: Swissky <12152583+swisskyrepo@users.noreply.github.com> Date: Mon, 4 Dec 2023 10:46:10 +0100 Subject: [PATCH] CSS - Update style for Chrome --- custom.css | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/custom.css b/custom.css index 7ae03fa..0e7b02c 100644 --- a/custom.css +++ b/custom.css @@ -1,5 +1,5 @@ .md-header{ - background-color: #023342; + background-color: #841F36; } @media screen and (min-width: 790px) { @@ -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) + } } \ No newline at end of file