@samitouri / QOS-React-2 / commits / 647e65525c

Center twitter embeds differently. again.

This time, just target the iframe. display: table was weird in webkit.

Paul O’Shannessy committed Feb 5, 2014 at 16:23 UTC 647e65525cd7a3db954018f48098652e77b0bb9e
1 file changed +3 -4
docs/_css/react.scss
+3 -4
@@ -745,8 +745,7 @@ p code {
745 }
746 }
747
748 -// Twitter embeds
749 -div[data-twttr-id] {
750 - margin: auto;
751 - display: table;
748 +// Twitter embeds. Need to !important because they inline margin on the iframe.
749 +div[data-twttr-id] iframe {
750 + margin: 10px auto !important;
751 }