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.
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
styleattribute 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.