From 1aff75a8c829ce6adbcdd3fec3f4593a2a8d9ea8 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 31 Mar 2026 08:36:16 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20remove=20Tailwind=20font-sans=20class=20?= =?UTF-8?q?from=20body=20=E2=80=94=20was=20overriding=20Fira=20Sans=20in?= =?UTF-8?q?=20globals.css?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/layout.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 7baf96a..e98bd4a 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -2,10 +2,9 @@ import type { Metadata } from 'next'; import './globals.css'; import Providers from '@/components/providers'; -// Fonts are loaded via Google Fonts CDN link in globals.css -// to avoid build-time network dependency in Docker builds -const firaSans = { variable: '--font-fira-sans', className: 'font-sans' }; -const firaCode = { variable: '--font-fira-code', className: 'font-mono' }; +// next/font/google downloads at build time — fails in Docker (no outbound internet). +// Fonts are loaded via CSS @import in globals.css (runtime CDN load). +// CSS vars are set directly in globals.css :root — no JS injection needed. export const metadata: Metadata = { title: 'FiberOps Admin', @@ -15,7 +14,7 @@ export const metadata: Metadata = { export default function RootLayout({ children }: { children: React.ReactNode }) { return ( - + {children} -- 2.43.0