Skip to content

Add Responsive Layouts and CSS Grid Layouts articles#5652

Draft
peholmst wants to merge 2 commits into
mainfrom
docs/responsive-layouts-article
Draft

Add Responsive Layouts and CSS Grid Layouts articles#5652
peholmst wants to merge 2 commits into
mainfrom
docs/responsive-layouts-article

Conversation

@peholmst

Copy link
Copy Markdown
Member

Summary

Continues the layouts documentation work by adding two new articles under building-apps/ui-basics/layouts/ and making the repo's responsive-layout content tell one coherent story.

New articles

  • Responsive Layouts (layouts/responsive.adoc) — the implementation how-to: built-in responsive components, CSS media queries, container queries, and Lumo utility classes. Covers both Lumo and Aura (the CSS techniques are theme-agnostic; Lumo utility classes are a Lumo-only shortcut; Aura uses the CSS techniques).
  • CSS Grid Layouts (layouts/css-grid.adoc) — how to build two-dimensional grids with CSS Grid in a Vaadin view, including fluid auto-fill/minmax() card grids that wrap without media queries. Includes a disambiguation note distinguishing CSS Grid from the Vaadin Grid data-table component.

Restructure

  • Moved the layouts overview layouts.adoclayouts/index.adoc so the section can hold sibling articles, and fixed the Write HTML cross-reference the move would otherwise have broken.

Coherence (why/how split)

  • designing-apps/responsiveness.adoc keeps the design strategies and the responsive-component catalog, but its duplicated implementation code (media/container-query CSS, Lumo example) is removed and it now points to the building-apps how-to.
  • The new how-to points back to the design article for the strategy decisions.
  • Cross-links wired across the layouts overview, responsive, css-grid, and the design article. Fixed the Lumo utility-classes reference path (/styling/themes/lumo/utility-classes).

Companion

Pairs with vaadin/agent-skills#4, which thins the vaadin-layouts and responsive-layouts skills to point at these articles via the MCP server.

Notes

  • Draft pending a local dspublisher build to confirm the new pages, the layouts/ restructure, and the cross-reference anchors render correctly.

🤖 Generated with Claude Code

peholmst and others added 2 commits June 10, 2026 15:12
Move the layouts overview into layouts/index.adoc and add a sibling
responsive.adoc migrated from the responsive-layouts agent skill: three
strategies, built-in responsive components, CSS media and container
queries, and Lumo utility classes, written as an overview for humans
and agents. Fix the now-relative Write HTML cross-reference broken by
the move and link the overview to the new responsive article.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Split the why/how between designing-apps/responsiveness (design
strategies and the responsive-component catalog) and the building-apps
responsive layouts how-to (implementation for both Lumo and Aura),
removing duplicated media/container-query and Lumo code from the design
article and cross-linking the two. Add a CSS Grid Layouts article as a
sibling to Responsive Layouts and link to it from the layouts overview,
the responsive guide, and the design article. Fix the Lumo utility
classes reference path.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@github-actions

Copy link
Copy Markdown

Preview Deployment

This PR has been deployed for preview.

URL: https://docs-preview-pr-5652.fly.dev

Built from cd412ff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant