From f19bd80d807565365f27e52578205d19bbc287af Mon Sep 17 00:00:00 2001 From: Christopher Chedeau Date: Wed, 1 Nov 2017 13:40:11 -0700 Subject: [PATCH] Center iframes and make them responsive (#209) So if you add an image and an iframe (youtube embed), they behave the same at all resolutions. --- lib/static/css/main.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/static/css/main.css b/lib/static/css/main.css index 526268601c..2a159f4e3c 100644 --- a/lib/static/css/main.css +++ b/lib/static/css/main.css @@ -63,7 +63,7 @@ img { height: auto; } -article p img { +article p img, article iframe { max-width: 100%; display: block; margin-left: auto;