From ee8aefb3118f84bf243b49636f0d23c9bed718dd Mon Sep 17 00:00:00 2001 From: Silo Server Migration Date: Mon, 25 May 2026 02:09:28 -0400 Subject: [PATCH] fix(web): remove padding on request detail routes --- web/src/components/Layout.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/src/components/Layout.tsx b/web/src/components/Layout.tsx index b007dd2d..19357593 100644 --- a/web/src/components/Layout.tsx +++ b/web/src/components/Layout.tsx @@ -42,10 +42,12 @@ export default function Layout({ children }: LayoutProps) { })(); const isRecommendationsRoute = location.pathname === "/recommendations"; const isCalendarRoute = location.pathname === "/calendar"; + const isRequestDetailRoute = /^\/requests\/(movie|series)\//.test(location.pathname); const needsNoPadding = isHomePath || isLibraryRoute || isItemRoute || + isRequestDetailRoute || isSearchLandingRoute || isRecommendationsRoute || isCalendarRoute;