From 6cf7f21dcbad330574f2c3212ad3dd036bc1fe6f Mon Sep 17 00:00:00 2001 From: Simounet Date: Thu, 28 Jun 2018 20:39:41 +0200 Subject: Fix mobile viewport on big iframe and video elements --- app/Resources/static/themes/_global/share.scss | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/Resources/static/themes/_global') diff --git a/app/Resources/static/themes/_global/share.scss b/app/Resources/static/themes/_global/share.scss index 72e73a9a..ac26a350 100644 --- a/app/Resources/static/themes/_global/share.scss +++ b/app/Resources/static/themes/_global/share.scss @@ -221,6 +221,12 @@ ol li:last-child { padding-bottom: 0; } +iframe, +video { + max-width: 100%; + height: auto; +} + mark { padding: 0 0.2em; } -- cgit v1.2.3