Closed BretHudson closed 2 years ago
By using gap on the flex parent instead of margin-left/margin-right on each child, you'll be able to not only keep the first item in rows 2+ from being misaligned, but you'll also be able to apply a vertical gap applied as well :)
gap
flex
margin-left
margin-right
Thanks! I was wondering how to align the tags better. This is very helpful.
Resolved by thienjs/thien.me#1
By using
gap
on theflex
parent instead ofmargin-left
/margin-right
on each child, you'll be able to not only keep the first item in rows 2+ from being misaligned, but you'll also be able to apply a vertical gap applied as well :)