From: Paul Hänsch Date: Mon, 25 Mar 2019 18:40:31 +0000 (+0100) Subject: prevent jittering due to scroll bars in some browsers X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=fe22bb1e8fc7e116cd165ebeba90361e740b0989;p=serve0 prevent jittering due to scroll bars in some browsers --- diff --git a/style.css b/style.css index bfd8541..2e461e1 100644 --- a/style.css +++ b/style.css @@ -375,8 +375,9 @@ body#view { padding-bottom: 6em; } } #view #mainvideo { - display: inline; - width: 100%; + display: block; + width: 98%; + margin-left: auto; margin-right: auto; max-height: 240px; } @media(min-height: 400px) { #view #mainvideo { max-height: 320px; } }