From 45f0585f23e3bd6c41ae67b561044f3f72efad14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Fri, 25 Mar 2022 13:19:25 +0100 Subject: [PATCH] theme: align content scrollbar to the right on big screens #223 --- static/css/theme.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/static/css/theme.css b/static/css/theme.css index d48bad54d0..5d9f8ccf38 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -412,17 +412,18 @@ th { margin-top: -1rem; } +#body .flex-block-wrapper { + margin-left: auto; + margin-right: auto; +} /* we limit width if we have large screens */ @media screen and ( min-width: 1300px ){ /* #sidebar/width + ./max-width */ - #body #body-inner { - margin: auto; + #body .flex-block-wrapper { max-width: 1000px; } } #body-inner.chapter { - margin-left: auto; - margin-right: auto; padding: 2rem 9rem; } @media only all and (max-width: 59.938em) {