CSS classes from Studio UI conflict with custom classes in editview #19221
Unanswered
janein
asked this question in
Q&A / Support
Replies: 1 comment
-
|
It seems to be an issue, that the css rules have the same specificity, but the rules from studio-ui get injected at the very top of the |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi :)
When switching from classic-ui to studio, we encountered an issue, I not yet have found a solid solution for.
Besides the ant-prefixed classes, some UI-Elements inside the editview have also other BEM-style css classes like
.button,.button__text, etc.As these are pretty generic namings, they easily come in conflict with our custom CSS rules, applied for the frontend. And as we want to have a look for the editview which is close to the rendered frontend, we use the same styles.
Is there any good pattern to work around this issue or should this be reported as a bug?
Happy to hear your opinions :)
For example, this is a button rendered inside the toolbar:
Beta Was this translation helpful? Give feedback.
All reactions