From a site I’ve inherited which is full of things like this (and lots of other very !important things). Send help.
Why is a color class also changing the display to inline is what I wanna know
Submitted 9 months ago by ndru@lemmy.world to mildlyinfuriating@lemmy.world
https://lemmy.world/pictrs/image/29535632-d4b9-4a43-80ff-3c222bf5c76f.png
From a site I’ve inherited which is full of things like this (and lots of other very !important things). Send help.
Why is a color class also changing the display to inline is what I wanna know
Tip of the iceberg. I’m perplexed about every 30 minutes working on this codebase.
My guess is that this tactical tornado here didn’t know the difference between a span and a div
Send help.
Set up something to change all fonts to Comic Sans before you leave. That’s all the help I can offer you, OP
key@lemmy.keychat.org 9 months ago
That’s why css names should be semantic. I’m sure it started actually purple until UX said “can we make this primary text more blue so it doesn’t look like a clicked link?” Replacing all references to “purple” wasn’t an option because of unrelated usage of that word elsewhere and they weren’t using an IDE capable of contextual rename of a css class. So they just changed the color code and called it a day.