From b88f45138339ef6243371f675317fd5a361e14ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Wed, 5 Feb 2014 16:23:43 -0800 Subject: [PATCH] Center twitter embeds differently. again. This time, just target the iframe. display: table was weird in webkit. --- _css/react.scss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/_css/react.scss b/_css/react.scss index 7518cab9..f4badcf3 100644 --- a/_css/react.scss +++ b/_css/react.scss @@ -745,8 +745,7 @@ p code { } } -// Twitter embeds -div[data-twttr-id] { - margin: auto; - display: table; +// Twitter embeds. Need to !important because they inline margin on the iframe. +div[data-twttr-id] iframe { + margin: 10px auto !important; }