From: SnowCode Date: Thu, 27 Apr 2023 14:58:35 +0000 (+0200) Subject: Adding a video { width: 100%; } (#4204) X-Git-Tag: v23.05~1^2~10 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/a9d952560d393465a9b83835332ec58d465007c3 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 --- 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 +}