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