W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2020

Re: [csswg-drafts] [css-flex] Gap between flexed items when parent has flex-wrap: wrap; set causes the last item to wrap prematurely (#5399)

From: Rachel Andrew via GitHub <sysbot+gh@w3.org>
Date: Wed, 05 Aug 2020 14:57:28 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-669242639-1596639447-sysbot+gh@w3.org>
The problem here is that you are essentially disabling the flexibility of flexbox to make it act like a grid system. I think you would be better off in this situation using grid (even if the layout is essentially one dimensional). If you use the `fr` unit the gap will be taken into account.



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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 5 August 2020 14:57:30 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:13 UTC