theme: fix content max width #466

This commit is contained in:
Sören Weber 2023-02-14 21:39:31 +01:00
parent 959ed155c4
commit 8b2380da2d
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -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 );
}
}