So I have this grid:
+---------+------------------------------+---------+
| <div> | <p> - 1000 characters long | <div> |
+---------+------------------------------+---------+
Inside p
there's super long string with no spaces. div
s are placeholders with fixed dimensions.
This produces the above:
display: grid;
grid-auto-flow: column;
grid-template-columns: auto minmax(0, 1fr) auto;
But changing minmax(0, 1fr)
to 1fr
gives this:
+---------+----------------------------------------+
| <div> | <p> - 1000 characters long | <div> |
+---------+----------------------------------------+
It overflows out of its parent and way out of screen size. Why isn't it behaving like minmax?