From bcca59e05918375e71b02ca90da95873217de566 Mon Sep 17 00:00:00 2001 From: pollfly <75068813+pollfly@users.noreply.github.com> Date: Thu, 18 Jul 2024 10:08:39 +0300 Subject: [PATCH] Improve sidebars (#879) --- src/css/custom.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/css/custom.css b/src/css/custom.css index 667c6a8a..affe22f8 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -93,10 +93,12 @@ html[data-theme="dark"] a:hover { /* sidebar & content in the center of the page */ /*.navbar__inner,*/ -/*.main-wrapper > div {*/ -/* margin: 0 auto;*/ -/* max-width: var(--max-page-width);*/ -/*}*/ +.main-wrapper > div, +.navbar__inner { + margin: 0 auto; + max-width: var(--max-page-width); + width: 100%; +} /* Scrollbar style in dark-mode */