News for hackers. Stuff that matters.
Re:Sanding UI by necovek on Tuesday September 24, 2024 @11:09PM (#41643332)
> How is padding different? It's kind of in the definition of padding.

I was responding to you raising technical questions about how could gap work in some edge cases by saying: "same as padding".

If "gap" is always used like padding, why wouldn't it behave the same?

FTR, I am not sure it's used like that commonly (I've stopped doing CSS UIs before the flexbox came to be): I am not putting that out as a conditional by accident.

Re:Sanding UI by 8n4vidtmkvmk on Friday September 27, 2024 @12:44PM (#41672720)
> If "gap" is always used like padding, why wouldn't it behave the same?

Ah.. yeah, that's a big loaded "if". I would say it's not. It's usually used as a gap, like the name implies. Gap and padding play nicely together too, so, if you want both, use both.