From a9d952560d393465a9b83835332ec58d465007c3 Mon Sep 17 00:00:00 2001 From: SnowCode <33733474+chopin2712@users.noreply.github.com> Date: Thu, 27 Apr 2023 16:58:35 +0200 Subject: [PATCH] Adding a video { width: 100%; } (#4204) * Adding a video { width: 100%; } This is to prevent that videos included in pages don't exceed the page border * Reverting precedent commit * Adding a video { max-width: 100% } instead --- resources/sass/_pages.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/sass/_pages.scss b/resources/sass/_pages.scss index d58be2fe3..a88d58f99 100755 --- a/resources/sass/_pages.scss +++ b/resources/sass/_pages.scss @@ -182,6 +182,10 @@ body.tox-fullscreen, body.markdown-fullscreen { .cm-editor { margin-bottom: 1.375em; } + + video { + max-width: 100%; + } } // Page content pointers @@ -452,4 +456,4 @@ body.tox-fullscreen, body.markdown-fullscreen { @media (prefers-contrast: more) { opacity: 1; } -} \ No newline at end of file +}