Skip to content

Styles are too easily overridden #180

@Malvoz

Description

@Malvoz

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))?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions