diff options
| author | Vincent Bernat <vincent@bernat.ch> | 2021-06-08 22:53:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-08 16:53:10 -0400 |
| commit | 73a245c65024297bd4a47c65da99bdf06069f35a (patch) | |
| tree | ad4ca3a615c6f99725badcf0847785acd1760290 /css | |
| parent | b7e04b6cc126f6cd4d71ad5bdee9da6c543256c9 (diff) | |
| download | xesite-73a245c65024297bd4a47c65da99bdf06069f35a.tar.xz xesite-73a245c65024297bd4a47c65da99bdf06069f35a.zip | |
css: constraint iframe max width (#373)
Last blog post contains a Youtube iframe which is too large on mobile. Constraint its width to maximum viewport width.
Diffstat (limited to 'css')
| -rw-r--r-- | css/hack.css | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/css/hack.css b/css/hack.css index 5a7346c..cbbc496 100644 --- a/css/hack.css +++ b/css/hack.css @@ -43,6 +43,9 @@ pre code { text-shadow: none; margin: 1.75rem 0; } +iframe { + max-width: 100%; +} a { cursor: pointer; color: #ff2e88; |
