Forums

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()

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #271973
    boqsc
    Participant

    Why Grid rows keeps expanding to the max of the minmax function?

    https://codepen.io/boqsc/pen/pKjyar

    #271974
    Paulie_D
    Member

    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.

    #271976
    boqsc
    Participant

    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?)

    #271993
    Paulie_D
    Member

    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.

    https://codepen.io/Paulie-D/pen/pKjVqj

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.