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; }