mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Center twitter embeds differently. again.
This time, just target the iframe. display: table was weird in webkit.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user