From b004372e48abe45b424d8f1ecb13eb68e5eb1a14 Mon Sep 17 00:00:00 2001 From: Amr Mohammed El-Sheraey <141947355+AmrMsCLL@users.noreply.github.com> Date: Fri, 2 Oct 2026 01:59:46 +0300 Subject: [PATCH] fix: keep the page gutter beside the sidebar With a sidebar, the main element was also the flex item that filled the row, so flex-1 replaced the shell width and the page lost its side margins on phones and next to the sidebar on desktop. The row's flex item is now a wrapper, and main keeps the shell width and margins. --- src/components/AppShell.tsx | 8 +++++--- test/workspace.spec.tsx | 5 ++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/components/AppShell.tsx b/src/components/AppShell.tsx index 0a0cd6e..b806c0b 100644 --- a/src/components/AppShell.tsx +++ b/src/components/AppShell.tsx @@ -67,9 +67,11 @@ export function AppShell({ {sidebar ? (