Re: [csswg-drafts] [css-flexbox][css-grid][css-box-sizing] - Wrapped text does not reduce box size width (#4801)

Rachel is right. This primarily is a problem for me in flexbox.

The primary use case for me is having a list of horizontal navigation items that I want flexbox to control the spacing for. Most of the nav items are just one word like "home" or "about" but some of the nav items are longer and made up of 2 or 3 words like "uupcoming events" or "how we work".

When this happens, flexbox does not distribute the white space in a way that a designer would distribute the white space since flexbox does not take word wrapping into account.

The only reason that I mentioned Grid was because I wanted to see if I could replicate the same sort of thing in CSS Grid. I've never actually had a use case where I've needed to worry about this since I'm usually tanking more control over the column sizing in Grid as Rachel suggests. (I haven't used Grid enough in my projects yet though to know if this does have a use case in Grid)

If getting this fixed for flexbox means taking Grid out of scope then I can probably live with that. This is primarily a problem in flexbox.

-- 
GitHub Notification of comment by Dan503
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4801#issuecomment-590118969 using your GitHub account

Received on Sunday, 23 February 2020 21:35:14 UTC