Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS Grid: Force the fr unit to not grow the track

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #257543
    trevorsg
    Participant

    It seems a grid track that is sized with an fr unit will grow if its content grows. Is there a way to prevent this? See the commented grid-template-rows property in the jsfiddle. That is the behavior I would like to get using fr.

    [Chrome]
    https://jsfiddle.net/8xmpjnxg/

    Thanks!

    #257555
    Beverleyh
    Participant

    Maybe .row { overflow:hidden } ?

    #257558
    trevorsg
    Participant

    Well that was easier than I thought! Could have sworn I tried that. Thanks!

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