From c453cb395e9816eb1e72236ef8382e786b337225 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Sat, 4 Jul 2026 11:05:34 +0200 Subject: [PATCH] fix: admin layout mobile responsiveness MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Same issue as settings — fixed w-56 vertical sidebar with no breakpoint squeezed all admin pages into a sliver on mobile. Horizontal scrollable tab bar under md, normal sidebar above; "Back to app" moves into the header row on mobile since the desktop footer placement is hidden there. Co-Authored-By: Claude Sonnet 5 --- apps/web/app/admin/layout.tsx | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/apps/web/app/admin/layout.tsx b/apps/web/app/admin/layout.tsx index 510656a..3176231 100644 --- a/apps/web/app/admin/layout.tsx +++ b/apps/web/app/admin/layout.tsx @@ -27,19 +27,28 @@ export default async function AdminLayout({ children }: { children: React.ReactN if (dbUser?.role !== "admin") redirect("/recipes"); return ( -
-