Shadcn/UI not working in content script #197
Unanswered
MirzaHasnat
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm building a browser extension and used a specific repo as a base. For the frontend, I incorporated ShadCN and Tailwind CSS. While everything works fine in the main extension, the frontend for the content scripts is problematic.
In the content scripts, Tailwind works as expected, but ShadCN only partially functions—its design is significantly different from what it should be.
EG. here's the rendered button of content script
Here's unocss config:
Here's component.json(shadcn config):
Im kinda stuck in this issuse form last 2 days,
Thanks
Beta Was this translation helpful? Give feedback.
All reactions