From e531ca5e244efe486f4127c6f2f6015f3a93a6e9 Mon Sep 17 00:00:00 2001 From: Julien Gautier Date: Sun, 17 May 2026 01:39:32 +0200 Subject: [PATCH] fix(portal-admin): html/body overflow-y hidden as a shell shield MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The admin shell is a "fills 100vh, never scrolls the body" layout — is height: 100vh and
owns its own overflow-y. If anything ever pushes content past the viewport (a chart sizing escape, a future iframe, a flex bug), we'd rather clip at the root than show a phantom body scrollbar plus the empty space under the footer that comes with it. --- apps/portal-admin/src/styles.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/apps/portal-admin/src/styles.css b/apps/portal-admin/src/styles.css index 435b0bf..11a952d 100644 --- a/apps/portal-admin/src/styles.css +++ b/apps/portal-admin/src/styles.css @@ -16,3 +16,18 @@ /* Brand palette tokens — shared with portal-shell. */ @import '../../../libs/shared/tokens/src/brand-tokens.css'; + +/* + * The admin shell is a "fills the viewport, never scrolls the body" + * layout: is locked at height: 100vh, and
owns its + * own overflow-y. If anything inside the shell ever pushes content + * past the viewport (a wide chart, a flex sizing bug, a third-party + * iframe), we'd rather clip than show a phantom body scrollbar plus + * the empty space below the footer that comes with it. The element- + * level overflow on
still produces a real, scrollable region + * for content that overflows by design. + */ +html, +body { + overflow-y: hidden; +}