Skip to content

fix(builder): adopt viewport-locked shell layout#367

Merged
pasevin merged 1 commit intomainfrom
fix/viewport-locked-shell-layout
Mar 16, 2026
Merged

fix(builder): adopt viewport-locked shell layout#367
pasevin merged 1 commit intomainfrom
fix/viewport-locked-shell-layout

Conversation

@pasevin
Copy link
Copy Markdown
Collaborator

@pasevin pasevin commented Mar 16, 2026

Summary

  • Lock the app shell to h-screen overflow-hidden so the header and footer are always pinned to the viewport
  • Move overflow-y-auto to the main content area so only page content scrolls independently

Motivation

The previous layout used min-h-screen on the outer wrapper, which caused the entire page — including the header, sidebar, and footer — to scroll as one unit. The new pattern (h-screen overflow-hidden on the shell, overflow-y-auto on the leaf content area) is now consistent across all apps in the monorepo (role-manager, rwa-wizard, openzeppelin-ui examples).

Test plan

  • Open the builder app and verify the header and footer stay pinned to the viewport while scrolling through long pages
  • Confirm the sidebar remains fixed and does not scroll with content

Lock app shell to h-screen overflow-hidden so header and footer are pinned
to the viewport. Move overflow-y-auto to the main content area so only page
content scrolls independently, consistent with the rwa-wizard shell pattern.
@pasevin pasevin requested a review from a team as a code owner March 16, 2026 13:29
@pasevin pasevin merged commit a37f06c into main Mar 16, 2026
14 checks passed
@pasevin pasevin deleted the fix/viewport-locked-shell-layout branch March 16, 2026 14:12
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