this post was submitted on 07 Jul 2024
542 points (96.9% liked)

Programmer Humor

19463 readers
15 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

I am not allowed to credit the site that has this disaster. Its owner said "Nobody should see that"

you are viewing a single comment's thread
view the rest of the comments
[–] Aux@lemmy.world 1 points 3 months ago (1 children)

Inline is never needed and you already know that.

[–] drathvedro@lemm.ee 1 points 3 months ago* (last edited 3 months ago) (1 children)

EDIT: Alright, this is a terrible case because the parent element has flex and therefore no inline-flex is necessary there, but I'd argue it's the parent element being flex that is redundant, rather than child element being inline.

[–] Aux@lemmy.world 1 points 3 months ago* (last edited 3 months ago)

Inline means that your element should be treated like text. If your element is not text, then you shouldn't use inline. In this screenshot the element is text, so it's ok.