From 8b2380da2dcc523f6888075a00e9d2f0d54e957a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Tue, 14 Feb 2023 21:39:31 +0100 Subject: [PATCH] theme: fix content max width #466 --- static/css/theme.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/static/css/theme.css b/static/css/theme.css index 20e0c67af1..ca3d0843a0 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -367,6 +367,7 @@ html[dir="rtl"] #sidebar ul li .read-icon { margin-left: auto; margin-right: auto; max-width: calc( 81.25rem - 18.75rem - 2 * 3.25rem ); + width: 100%; } body:not(.print) #body .narrow .flex-block-wrapper { max-width: calc( 81.25rem - 18.75rem - 2 * 9.75rem ); @@ -375,11 +376,9 @@ body:not(.print) #body .narrow .flex-block-wrapper { /* we limit width if we have large screens */ @media screen and ( min-width: 81.25rem ){ /* #sidebar/width + ./max-width */ #body .flex-block-wrapper { - min-width: calc( 81.25rem - 18.75rem - 2 * 3.25rem ); width: calc( 81.25rem - 18.75rem - 2 * 3.25rem ); } body:not(.print) #body .narrow .flex-block-wrapper { - min-width: calc( 81.25rem - 18.75rem - 2 * 9.75rem ); width: calc( 81.25rem - 18.75rem - 2 * 9.75rem ); } }