Replies: 3 comments 2 replies
-
|
@mrassili did you find a solution to using tailwinds in your shadow dom / chrome extension? I've just hit the same problem with font-sizes, even though I used :host { all: initial }. Many thanks Greg |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
You just need to overwrite the spacing from the config file based on your base size🤔. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hello
I've been using tailwindcss recently for a chrome extension, to encapsulate the styling I used shadow dom, it prevents styles from leaking in or out of its content.
The problem I found is when websites have set the font-size on
htmlelement, I don't have a way to override (and don't want to). Setting :host, :root' font-size doesn't work becauseremlooks forhtmlelementIs there an option or workaround this, maybe telling tailwind to use a specific
remvalue to base it's sizes off?Beta Was this translation helpful? Give feedback.
All reactions