Hacker News new | ask | show | jobs
by oceankid 1098 days ago
Looks great! Working on something similar, but couldn't go through the nuances of managing every gnarly inputs. What do you think of a PR for <section> stacking any children as equal width columns.
1 comments

Like `display: flex; flex-direction: column; width: 100%;`?
section { display: flex; flex-wrap: wrap; } section > * { flex: 0 0 auto; } section > *:not(:last-child) { margin-right: 1rem;}
Personally that is a terrible idea. <section> should be used for semantic purposes, not layout.

Also, why not use "gap" instead of "margin-right-but-not-last-child"?