From 798da7cc1af357acfac6b866c4c74f9aa813d8de Mon Sep 17 00:00:00 2001 From: dongcg Date: Mon, 27 Nov 2023 11:22:30 +0800 Subject: [PATCH] fix: page-wrapper overlay navigation --- theme/style.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/theme/style.css b/theme/style.css index ea8bc6e3..2c86aa81 100644 --- a/theme/style.css +++ b/theme/style.css @@ -93,6 +93,12 @@ table { left: calc(var(--sidebar-width) + var(--page-padding)); } } +@media only screen and (min-width: 620px) { + .sidebar-visible .page-wrapper { + transform: none; + margin-left: var(--sidebar-width); + } +} .mobile-nav-chapters { width: 40px; @@ -132,4 +138,4 @@ code.editable, .ace_scroller { .chapter li .md-viewed { color: #777; -} +} \ No newline at end of file