From ceea053465adbd217805d9db2f0467cbc287fa90 Mon Sep 17 00:00:00 2001 From: gzbender Date: Tue, 28 Aug 2018 15:27:47 +0500 Subject: [PATCH] =?UTF-8?q?LIL-634=20=D0=9C=D0=B0=D0=BB=D0=B5=D0=BD=D1=8C?= =?UTF-8?q?=D0=BA=D0=B8=D0=B9=20=D1=80=D0=B0=D0=B7=D0=BC=D0=B5=D1=80=20?= =?UTF-8?q?=D1=84=D1=80=D0=B5=D0=B9=D0=BC=D0=B0=20=D0=92=D0=B8=D0=BC=D0=B5?= =?UTF-8?q?=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/content/blocks/video.html | 86 +++++++++---------- web/src/sass/_common.sass | 8 ++ 2 files changed, 51 insertions(+), 43 deletions(-) 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