Skip to content
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

Replace CSS wildcard selector on events #6418

Open
isglass opened this issue Mar 21, 2023 · 1 comment
Open

Replace CSS wildcard selector on events #6418

isglass opened this issue Mar 21, 2023 · 1 comment
Labels
bug Something isn't working forum Issues from forum premium styling Appearance or layout problem

Comments

@isglass
Copy link
Contributor

isglass commented Mar 21, 2023

Forum post

There is currently a wildcard selector on .b-sch-event.b-sch-event-selected *. Setting font-weight: 500; z-index: 6; on all descendant elements.

That makes it quite hard to handle custom react components for events. I currently have to use !important for font-weight and z-index in so many places which is not ideal.

Maybe this selector could be rewritten to only target events that are not using a custom eventRenderer.

@isglass isglass added bug Something isn't working styling Appearance or layout problem premium forum Issues from forum labels Mar 21, 2023
@isglass
Copy link
Contributor Author

isglass commented Mar 21, 2023

Likely we are using wildcard to make our demos look good. Remove the rule and review demos using custom event contents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum premium styling Appearance or layout problem
Projects
None yet
Development

No branches or pull requests

1 participant