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

Styles are too easily overridden #180

Open
Malvoz opened this issue Mar 20, 2022 · 0 comments
Open

Styles are too easily overridden #180

Malvoz opened this issue Mar 20, 2022 · 0 comments

Comments

@Malvoz
Copy link
Contributor

Malvoz commented Mar 20, 2022

Not having styles applied using !important declarations makes the attribute feel less robust than I'd like.

I tried the attribute on a purely decorative map (from the popular Leaflet JS library), but in many cases pointer-events: none was overridden due to their internal use of pointer-events: auto.

In #33, some styles have !important declarations, can they all have?
Or should it be left up to the author? Similar to [hidden] { display: none !important; } (jensimmons/cssremedy#71 (comment))?

@Malvoz Malvoz changed the title Styles are too easily overridable Styles are too easily overridden May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant