From 73a245c65024297bd4a47c65da99bdf06069f35a Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 8 Jun 2021 22:53:10 +0200 Subject: [PATCH] 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. --- 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;