css style isolation #6396
Replies: 2 comments 8 replies
-
We've heard this request multiple times recently. You can find a response here: #6032 and in this canny post . Have you tried |
Beta Was this translation helpful? Give feedback.
-
I have the same problem with https://react-day-picker.js.org and other projects where we use Docusaurus. The question is why is Docusaurus overriding the style of HTML elements? Or is it Infima? The CSS cascading issues have been solved since years, why aren't these practices being followed here? Is there anything we can do? Here is what i've tried so far: The "revert: all" workaroundThe trick with The "iframe" workaroundI've tried to use an https://react-day-picker.js.org/render?example=start As you can see it stills inherit style from tables: SandpackI could finally rely on Sandpack as it is a good way to isolate the components, as it recreates a new app without the Docusaurus's chrome. Yet it is slow, the viewport is constrained, requires extra work. I really hope for some inputs! Thanks. |
Beta Was this translation helpful? Give feedback.
-
docusaurus is a very useful tool, I love it, we are creating our own component library, the demo of the component library, and eventually rendering in docusaurus, but I found a problem, some of the global styles of docusaurus's own themes affect the React components in the demo. Is there any good advice or elegant way to solve this problem?
Beta Was this translation helpful? Give feedback.
All reactions