From 8412601a3c43cce84d3906ccfeade7a267a5950c Mon Sep 17 00:00:00 2001 From: Ayo Date: Sat, 27 May 2023 20:29:49 +0200 Subject: [PATCH] style: add iframe to media reset; center media if not full-width --- src/layouts/reset.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/layouts/reset.css b/src/layouts/reset.css index a877b32..20ba865 100644 --- a/src/layouts/reset.css +++ b/src/layouts/reset.css @@ -40,9 +40,11 @@ img, picture, video, canvas, -svg { +svg, +iframe { display: block; max-width: 100%; + margin: 0 auto; } /* 7. Remove built-in form typography styles