diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2018-07-06 05:38:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-06 05:38:39 +0000 |
commit | 9216bab8c9ea3cea60c0a6fae1ffaea212a8932e (patch) | |
tree | e1c8a1bbbfbdadc126040a21c0889737e9c1e308 /app | |
parent | 9bc086071aece11fd4ebaaa0940f38a776077cf2 (diff) | |
parent | 6cf7f21dcbad330574f2c3212ad3dd036bc1fe6f (diff) | |
download | wallabag-9216bab8c9ea3cea60c0a6fae1ffaea212a8932e.tar.gz wallabag-9216bab8c9ea3cea60c0a6fae1ffaea212a8932e.tar.zst wallabag-9216bab8c9ea3cea60c0a6fae1ffaea212a8932e.zip |
Merge pull request #3683 from Simounet/fix/iframe-video-width-shared
Fix mobile viewport on big iframe and video elements
Diffstat (limited to 'app')
-rw-r--r-- | app/Resources/static/themes/_global/share.scss | 6 |
1 files changed, 6 insertions, 0 deletions
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 { | |||
221 | padding-bottom: 0; | 221 | padding-bottom: 0; |
222 | } | 222 | } |
223 | 223 | ||
224 | iframe, | ||
225 | video { | ||
226 | max-width: 100%; | ||
227 | height: auto; | ||
228 | } | ||
229 | |||
224 | mark { | 230 | mark { |
225 | padding: 0 0.2em; | 231 | padding: 0 0.2em; |
226 | } | 232 | } |