New issue
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
Inline style inheritance #3098
Comments
Looks like the problem is with the With this:
The result is: edit: Adding some more examples:
So it seems like these components don't inherit the
Whereas these components do:
What's the correlation between these? Is it some way the components are defined? Will this also affect inheritance of other props similarly, or just specific ones? (Seems to do the same with |
i think many of the radix themes components for form controls apply a css reset that overrides the value set in the outer container. |
That makes sense... Probably just a quick change of the docs to use |
Describe the bug
Docs on https://reflex.dev/docs/styling/overview/#styling say that
To Reproduce
Problem occurs in reflex docs
Expected behavior
Expect "Default Button" text to be
blue
Screenshots
Specifics (please complete the following information):
Additional context
This might be a change in behaviour from the recent move to
radix
, but I'm not sure. Either way, the docs should be updated to whatever is correct now :)The text was updated successfully, but these errors were encountered: