The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Grid-template-rows keeps expandin to max of the minmax()
Why Grid rows keeps expanding to the max of the minmax function?
Frankly, I have no idea (I imagine it’s in the spec somewhere) but it seems logical to me….but I’m not sure why.
You mean that it was supposed to work that way
and is a good thing, minmax is functioning correctly?
(It is not some kind of logical bug?)
I’m not sure to be honest. My assumption would be that since you have set a maximum it will default to that size to “reserve” the space and, presumably allow for overflow if the contents exceed the stated upper limit.