Better style encapsulation
Done:
- Added CSS reset (
all: initial) to.static-tweetand all children (should fix #13).
Untested, pls help me out @transitive-bullshit, check your DMs :)
Other ideas:
- [ ] Make parent class more specific, for example:
static-tweet=>__static_tweet__ - [ ] Change selectors to depend on the parent class, for example:
.static-tweet-anchor=>.static-tweet .anchor - [ ] CSS modules? (I don't really think it adds much value but it's an option)
Someone is attempting to deploy a commit to a Personal Account owned by @transitive-bullshit on Vercel.
@transitive-bullshit first needs to authorize it.
@DaniGuardiola I didn't now about the all: initial trick — this is awesome.
I honestly think it's good enough assuming it works. Let's keep it simple for now.
Let me know when you think it's good to merge.
Thanks!
I will take another look at this after we find a fix for #23 which is currently blocking react-static-tweets from being used with webpack 5.
@transitive-bullshit see https://github.com/transitive-bullshit/react-static-tweets/issues/23#issuecomment-814783953