From 8b87619e37c1204b0c2b1f479dab2f1757b84932 Mon Sep 17 00:00:00 2001 From: ZProger Date: Tue, 8 Sep 2026 21:46:14 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=BA=D0=BE=D0=BD=D1=82=D0=B5=D0=BD?= =?UTF-8?q?=D1=82=20=D1=80=D0=B0=D1=81=D1=82=D1=8F=D0=B3=D0=B8=D0=B2=D0=B0?= =?UTF-8?q?=D0=B5=D1=82=D1=81=D1=8F=20=D0=BD=D0=B0=20=D0=B2=D1=81=D1=8E=20?= =?UTF-8?q?=D1=88=D0=B8=D1=80=D0=B8=D0=BD=D1=83=20=D0=BF=D1=80=D0=B8=20?= =?UTF-8?q?=D1=81=D0=B2=D1=91=D1=80=D0=BD=D1=83=D1=82=D0=BE=D0=BC=20=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Убрал фиксированный max-w-6xl у основного контейнера — раньше освободившееся при сворачивании сайдбара место просто пропадало. --- frontend/src/App.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index e0b40e9..ee012d2 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -43,7 +43,12 @@ export default function App() { />
setMobileNavOpen(true)} /> -
+ {/* No max-width cap — the sidebar can be collapsed to free up space + (see Sidebar.tsx's collapsed w-[72px] vs expanded w-56), and a + fixed max-w here would leave that freed space as dead centered + gutter instead of handing it to the page. Padding alone keeps + content off the sidebar/viewport edges. */} +
} /> } />