Last active
May 21, 2016 13:17
-
-
Save sankalpsans/4d906a941a63a17f0cb809893550ae97 to your computer and use it in GitHub Desktop.
Teeny Tiny hacks on the Web Frontend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Embedded Tweet render issue after their switch to Shadow DOMs# | |
Twitter recently changed their embedded tweet rendering to Shadow DOMs (I think this is what cause the issue to surface) and tweets embedded on various places started to break https://twitter.com/sankalp_sans/status/733911277085462529 | |
Just adding the following 2 lines fixed it for me. | |
``` | |
.twitter-tweet::shadow(.EmbeddedTweet){ float:left!important; } | |
.twitter-tweet::shadow .EmbeddedTweet{ float:left !important; } | |
``` | |
As per what I read of the implementation, the first line should have done it alone, but did not, in some of the cases |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment