Terence Eden on Nostr: I have an annoying #HTML #CSS problem. I have a `<div>` with `display: flex; ...
I have an annoying #HTML #CSS problem.
I have a `<div>` with `display: flex; flex-wrap: wrap;`
All the elements in it form a nice grid.
If I change the `<div>` to a `<details>` then suddenly the grid becomes a column.
If I set `width:100%` then it become a very fat column.
What stupid and obvious thing am I missing?
I have a `<div>` with `display: flex; flex-wrap: wrap;`
All the elements in it form a nice grid.
If I change the `<div>` to a `<details>` then suddenly the grid becomes a column.
If I set `width:100%` then it become a very fat column.
What stupid and obvious thing am I missing?