diff --git a/themes/tsc_vfl/assets/css/main.scss b/themes/tsc_vfl/assets/css/main.scss index 7d8ca0d..d19d11f 100644 --- a/themes/tsc_vfl/assets/css/main.scss +++ b/themes/tsc_vfl/assets/css/main.scss @@ -595,6 +595,14 @@ h1 { } } +.youtube-video { + max-width: 100%; +} + +.internal-video { + max-width: 100%; +} + :root { --color-vhvorne: #ddcb55; --color-vhmitte: #c98879; diff --git a/themes/tsc_vfl/layouts/shortcodes/tsc/news/internal-video.html b/themes/tsc_vfl/layouts/shortcodes/tsc/news/internal-video.html index 5cdd47c..c908229 100644 --- a/themes/tsc_vfl/layouts/shortcodes/tsc/news/internal-video.html +++ b/themes/tsc_vfl/layouts/shortcodes/tsc/news/internal-video.html @@ -2,6 +2,7 @@ {{ with .Get "poster" }}poster="{{ . }}"{{ end }} {{ with .Get "width" }}width="{{ . }}"{{ end }} {{ with .Get "height" }}height="{{ . }}"{{ end }} +class="internal-video" > + allowfullscreen + class="youtube-video">