Skip to content

Move styles off of compiled HTML and into the prendus-view-question component #21

@lastmjs

Description

@lastmjs

I think it makes sense to keep the compiled HTML as simple as possible, and that means having minimal to no styling. I think the styling should be left up to the consumer of the compiled HTML, the interpreter. The Prendus question components are a consumer. I ran into a problem while taking off the styling, and I believe it is because of the Shadow DOM polyfill in Firefox. Until Firefox and Edge ship native implementations of Shadow DOM for at least 2 or 3 browser versions, I wouldn't try to put the styles on in the consumer component. But once we can, we should move the styles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions