Cells growing unexpectedly
When I click on one of the cells it adds a paragraph with a "x" or a "o". The issue I'm confronting is that the columns grow when it is populated by a paragraph, why does it happen? How can I prevent it?
https://codepen.io/leoncelestino/pen/zYVoMQz
3 Replies
It is solved when I specify aspect-ratio: 1; in the .cells class, but I want to understand why this behavior happens
if you check it,
grid-auto-rows
is set to auto
also, the
p
is 8x18