lucyparsons / OpenOversight

Police oversight and accountability through public data 👮
https://openoversight.com
GNU General Public License v3.0
240 stars 79 forks source link

Replace inline styles with external css #1073

Closed brrusselburg closed 1 year ago

brrusselburg commented 1 year ago

Fixes issue

https://github.com/lucyparsons/OpenOversight/issues/969

Description of Changes

Removes the H021 tag and does the relevant clean-up. In this case, inline styles are refactored into external CSS via pre-existing stylesheets.

Unsure of the CSS class names, very open to changes. One in particular I really disliked, but left a note-to-self. Historically more of a back-end dev, so apologies if I missed something obvious with these changes!

Tests and linting

(pre-commit technically fails on some .py files and migrations, but none of the new changes it seems)