We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have a component that uses the className tag. This is causing conflicts with elements with className of tag used in the Playground.
tag
A potential solution would be to prepend all docz CSS classes with docz-
docz-
Example:
The text was updated successfully, but these errors were encountered:
Hey @auermi
Thanks for reporting this issue.
This seems prism-react-renderer specific.
We can either open an issue there with a request to allow us to prepend some string to the class names or wrap the playground editor in an iframe.
Sorry, something went wrong.
This is solved in 2.2.0.
To scope your playground styles and make them independent of docz theme css you have 2 choices :
<Playground useScoping> { // blablabla } </Playground>
useScopingInPlayground : true
export default { useScopingInPlayground: true }
Sorry for the delay in the reply but the fix was implemented thanks to you raising this issue ! So thanks 👍
Going to close it, please re-open or comment if for some reason something doesn't work for you !
If you're interested in implementation details check #1305
@rakannimer Thanks!
No branches or pull requests
We have a component that uses the className
tag
. This is causing conflicts with elements with className of tag used in the Playground.A potential solution would be to prepend all docz CSS classes with
docz-
Example:
The text was updated successfully, but these errors were encountered: