Teeny Tiny hacks on the Web Frontend
| # 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