From 02f17c76753b3f5626471430848d2cd80d16d541 Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 25 Apr 2023 10:12:03 +0200 Subject: [PATCH] Revert "Revert "do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3892942#context"" This reverts commit 4d55acbfff05944ad4a64513f9fc9c9170aa982c. --- files/assets/css/main.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 9582a9aee..1e720831e 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -5575,13 +5575,18 @@ 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 { @@ -6905,7 +6910,6 @@ div.markdown { resize: both; display: inline-block; overflow: auto; - max-height: 700vh !important; max-width: 100vw !important; } .resizable > video {