Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7fce753c54592224c90f1faddfbb402b2b022fa9
https://github.com/WebKit/WebKit/commit/7fce753c54592224c90f1faddfbb402b2b022fa9
Author: Brandon Stewart <[email protected]>
Date: 2026-03-26 (Thu, 26 Mar 2026)
Changed paths:
M Websites/webkit.org/demos/grid3/home/toc.css
M Websites/webkit.org/demos/grid3/megamenu/styles.css
M Websites/webkit.org/demos/grid3/museum/styles.css
M Websites/webkit.org/demos/grid3/newspaper/styles.css
M Websites/webkit.org/demos/grid3/photos/styles.css
M Websites/webkit.org/demos/grid3/universal.css
Log Message:
-----------
[grid-lanes] Improve responsiveness of CSS Grid Lanes demos on mobile
https://bugs.webkit.org/show_bug.cgi?id=310668
rdar://173274959
Reviewed by Sammy Gill.
The grid3 demos had several issues on narrow viewports (iPhone portrait):
the control bar overflowed horizontally due to its two-column grid layout,
and many demo layouts produced a single squished column or overflowed
the page because their minmax() minimums exceeded the available width.
* Websites/webkit.org/demos/grid3/universal.css:
Add mobile breakpoint that collapses the aside.interface to a
single-column flow layout, preventing the nav and code panel overflow.
* Websites/webkit.org/demos/grid3/home/toc.css:
Reduce margin and use a 2-column grid on small screens.
* Websites/webkit.org/demos/grid3/photos/styles.css:
Add mobile breakpoints for all layout variations to ensure at least
2 columns, keeping span 2 items full-width where applicable.
* Websites/webkit.org/demos/grid3/megamenu/styles.css:
Reduce padding and force 2-column layout on mobile for all variations.
* Websites/webkit.org/demos/grid3/newspaper/styles.css:
Reduce padding and add mobile breakpoint for the "various sizes" layout.
* Websites/webkit.org/demos/grid3/museum/styles.css:
Add mobile breakpoint with header spanning full width; remove duplicate
twoandahalf rule block.
Canonical link: https://commits.webkit.org/310000@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications