DEV Community

loading...

Discussion on: Grid cell issue with white-space: nowrap & text-overflow: ellipsis

Collapse
timhecker profile image
Luca Uliana Author

Mmh, i'm in a responsive environment, I can't use absolute widths, like 300px.

Collapse
renannobile profile image
Renan Lourençoni Nobile

What if you change 300px to 100vw?

Thread Thread
timhecker profile image
Luca Uliana Author

This works, but it's not a solution for me :( you changed the repeat() function with auto-fill, but I need 4 cols. For the moment I solved using flex instead of grid.

Forem Open with the Forem app