From 4d55acbfff05944ad4a64513f9fc9c9170aa982c Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 25 Apr 2023 09:53:20 +0200 Subject: [PATCH] Revert "do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3892942#context" This reverts commit 97fb177393fdf16c6a5cfc3ee3f3a0f1c4d9b04e. --- files/assets/css/main.css | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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 {