]> git.plutz.net Git - serve0/blobdiff - style.css
prevent jittering due to scroll bars in some browsers
[serve0] / style.css
index bfd8541ed38e9e5c1d22e2c5e2bdd5dd9bba4c13..2e461e13a1ca0b7c11496339b6e5f74b1a75e248 100644 (file)
--- 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; } }