Skip to content

CSS Sugarcube styling exclusion zone #28

@Goctionni

Description

@Goctionni

Problem: When using third party widgets, like a jQuery plugin or a Vue/React App, those typically come with styling that assumes little or no prior global styling, and will generate DOM elements that end up getting undesirable styling from the sugarcube-default styling that exists for things like button, a, input, and the like.

It would be nice to have element-selectors to be prefixed with something like: :not(.sc-nostyle), so that third party widgets and the like could be placed in a div.sc-nostyle avoid avoid sugarcube changing the appearance of the widget (buttons, inputs, etc) inside that div.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions