- From: Devon Govett via GitHub <sysbot+gh@w3.org>
- Date: Tue, 30 Jan 2024 05:09:25 +0000
- To: public-css-archive@w3.org
Would be amazing to be able to do this in pure CSS. Our [Button Group](https://spectrum.adobe.com/page/button-group/#Behaviors) component in Spectrum swaps orientation from horizontal to vertical when space is limited, and we currently have to implement this with some tricky JavaScript. However this has the downside that the initial layout is potentially incorrect on page load before the JS has executed. I agree with the previous commenters that an extension of `flex-wrap` seems like the simplest solution. -- GitHub Notification of comment by devongovett Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6366#issuecomment-1916086435 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 30 January 2024 05:09:27 UTC