From ff22c577ac607f4297de2d593aa433cf8a731599 Mon Sep 17 00:00:00 2001 From: Thomas Date: Wed, 7 Oct 2026 12:12:43 +0200 Subject: [PATCH] fix: keep dashboard CSS out of board settings (#7066) Related to #7062. Keep dashboard custom CSS out of dashboard settings. --- apps/nextjs/src/app/[locale]/boards/[name]/layout.tsx | 1 + apps/nextjs/src/app/[locale]/boards/_layout-creator.tsx | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/nextjs/src/app/[locale]/boards/[name]/layout.tsx b/apps/nextjs/src/app/[locale]/boards/[name]/layout.tsx index 0c5fd10e0..0250e2055 100644 --- a/apps/nextjs/src/app/[locale]/boards/[name]/layout.tsx +++ b/apps/nextjs/src/app/[locale]/boards/[name]/layout.tsx @@ -5,6 +5,7 @@ import { createBoardLayout } from "../_layout-creator"; export default createBoardLayout<{ locale: string; name: string }>({ headerActions: , + withCustomCss: false, async getInitialBoardAsync({ name }) { return await getBoardByNameAsync(name); }, diff --git a/apps/nextjs/src/app/[locale]/boards/_layout-creator.tsx b/apps/nextjs/src/app/[locale]/boards/_layout-creator.tsx index 26931af33..ae0d3ede3 100644 --- a/apps/nextjs/src/app/[locale]/boards/_layout-creator.tsx +++ b/apps/nextjs/src/app/[locale]/boards/_layout-creator.tsx @@ -34,6 +34,7 @@ interface CreateBoardLayoutProps { headerBoardSettingsAction?: JSX.Element; getInitialBoardAsync: (params: TParams) => Promise; withTour?: boolean; + withCustomCss?: boolean; } export const createBoardLayout = ({ @@ -42,6 +43,7 @@ export const createBoardLayout = ({ headerBoardSettingsAction, getInitialBoardAsync: getInitialBoard, withTour = false, + withCustomCss = true, }: CreateBoardLayoutProps) => { const Layout = async ({ params, @@ -107,7 +109,7 @@ export const createBoardLayout = ({ - + {withCustomCss && }