-
Notifications
You must be signed in to change notification settings - Fork 62
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
Feature request: add class to rect main key to enable css easier styling #129
Comments
Is this only a problem when the key sides option is used? Because otherwise, |
I haven't checked all codepaths without key sides, so most likely is only related with that one |
It looks like when you enable key sides, you get (While this didn't seem intuitive to me that the outer rectangle uses different classes in the two cases, it makes sense when we look at how the Given above, if we add |
@magicDGS do you have any thoughts on above? Alternatively, if you are happy with the |
When trying to style with css something like the following key:
To style the middle rect on some nested selector you need to use a discriminator as follow:
It will be really nice in such cases to have a class such
main
(maybe there would be a better name) to avoid such complex selection. Maybe I am missing a better way of doing it, so feel free to close if that is the case. Thanks! 😊The text was updated successfully, but these errors were encountered: