From 407589bd9679e65a0890b2bf72f218948fe20d05 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. --- docs/_css/react.scss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/_css/react.scss b/docs/_css/react.scss index 7518cab94b..f4badcf3fb 100644 --- a/docs/_css/react.scss +++ b/docs/_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; }