From fcd039ce66b83813f469a90b529f496e628450e1 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 8 Jun 2021 16:52:30 +0200 Subject: [PATCH] css: constraint iframe max width Last blog post contains a Youtube iframe which is too large on mobile. Constraint its width to maximum viewport width. --- css/hack.css | 3 +++ 1 file changed, 3 insertions(+) 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;