diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 1e720831e2..9582a9aeeb 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -5575,18 +5575,13 @@ code { lite-youtube { background-color: #000; position: relative; + display: block; contain: content; background-position: center center; background-size: cover; cursor: pointer; + max-width: 720px; margin-bottom: 1.3rem !important; - - display: inline-block; - resize: both; - overflow: auto; - max-height: 70vh !important; - max-width: 100vw !important; - width: 500px; } lite-youtube::before { @@ -6910,6 +6905,7 @@ div.markdown { resize: both; display: inline-block; overflow: auto; + max-height: 700vh !important; max-width: 100vw !important; } .resizable > video {