Skip to content

Phasing out the inline style attribute #2067

Description

@trichoplax

Inline styles are not incorrect, and our style guide does not currently recommend against them. Is this something we should change?

There are a number of places in the codebase that use a style attribute on an HTML element rather than styling through CSS.

Some of these are conditional styles, but they could just as easily be conditional classes.

None of these appear to be causing any problems, so this is just to keep track of them to be addressed at some point if it is decided to change the style guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for Proposal.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions