From c10288d61ba33179f83fe9fbee621bf694e750f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sat, 4 Jul 2026 15:51:46 +0200 Subject: [PATCH] fix(layout): let the content column shrink below its children's min width Without min-w-0 the shell's flex column adopted the measurements table's intrinsic min width, widening main past the viewport and putting the whole page on a horizontal scrollbar at tablet widths. Wide children scroll inside their own overflow-x-auto containers. --- src/components/layout/auth-shell.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/layout/auth-shell.tsx b/src/components/layout/auth-shell.tsx index 85a9a2121..829a742ce 100644 --- a/src/components/layout/auth-shell.tsx +++ b/src/components/layout/auth-shell.tsx @@ -268,7 +268,12 @@ export function AuthShell({
-
+ {/* `min-w-0` lets the content column shrink below its children's + intrinsic min width (e.g. the measurements table); without it + the column widens past the viewport next to the sidebar and + the whole page gains a horizontal scrollbar. Wide children + scroll inside their own `overflow-x-auto` containers. */} +
{/* v1.4.43 QoL (M5) — `` paints only when `navigator.onLine === false`. Sits above the maintainership