Skip to content

Commit 180ede2

Browse files
authored
fix: add system-ui fallback to font stack for non-Latin script support (calcom#29346)
1 parent fb01494 commit 180ede2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/web/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export default async function RootLayout({ children }: { children: React.ReactNo
116116
<head nonce={nonce}>
117117
<style>{`
118118
:root {
119-
--font-sans: ${interFont.style.fontFamily.replace(/\'/g, "")};
119+
--font-sans: ${interFont.style.fontFamily.replace(/\'/g, "")}, system-ui;
120120
--font-cal: ${calFont.style.fontFamily.replace(/\'/g, "")};
121121
}
122122
`}</style>

apps/web/components/PageWrapper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function PageWrapper(props: AppProps) {
8989

9090
<style jsx global>{`
9191
:root {
92-
--font-sans: ${interFont.style.fontFamily};
92+
--font-sans: ${interFont.style.fontFamily}, system-ui;
9393
--font-cal: ${calFont.style.fontFamily};
9494
}
9595
`}</style>

0 commit comments

Comments
 (0)