diff --git a/apps/content/templates/content/blocks/video.html b/apps/content/templates/content/blocks/video.html index fe741465..72bc8f86 100644 --- a/apps/content/templates/content/blocks/video.html +++ b/apps/content/templates/content/blocks/video.html @@ -1,43 +1,43 @@ -
-
-
- {{ content.title }} -
-
- {% if 'youtube.com' in content.url or 'youtu.be' in content.url %} - - {% elif 'vimeo.com' in content.url %} - - {% endif %} -
-
-
- - \ No newline at end of file +
+
+
+ {{ content.title }} +
+
+ {% if 'youtube.com' in content.url or 'youtu.be' in content.url %} + + {% elif 'vimeo.com' in content.url %} + + {% endif %} +
+
+
+ + diff --git a/web/src/sass/_common.sass b/web/src/sass/_common.sass index 5ccc6d83..aceae0ec 100755 --- a/web/src/sass/_common.sass +++ b/web/src/sass/_common.sass @@ -4097,6 +4097,12 @@ a &.pic position: relative width: 100% + &__video iframe + height: 360px; + width: 640px; + max-width: 100%; + max-height: 60%; + .banner height: 140px @@ -4167,3 +4173,5 @@ a border-left: 3px solid transparent border-radius: 50% animation: loading .6s infinite linear + +.iframe__container