[wp-trac] [WordPress Trac] #21680: Twitter embeds can break the layout in responsive bundled themes
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 24 17:12:29 UTC 2012
#21680: Twitter embeds can break the layout in responsive bundled themes
---------------------------+------------------
Reporter: kovshenin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: has-patch |
---------------------------+------------------
Comment (by kovshenin):
Replying to [comment:2 lancewillett]:
Thanks Lance! Twitter embed places an inline style of
"`width:550px!important`" to the div, as well as a "`max-
width:550px!important`" with the `.twitter-tweet-rendered` selector in
their embed stylesheet, so to have priority over that, I had to use
`!important` **and** specify a parent class name, which is kinda hacky,
but I couldn't think of anything cleaner.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21680#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list