forked from minzeyaphyo/burmddit
Fix critical Burmese typography and layout issues
- Update .font-burmese line-height to 1.85 (critical fix for text overlap) - Set article content line-height to 2.0 for better readability - Add Padauk font as fallback for better Myanmar script support - Update all heading line-heights to 1.75 for proper spacing - Reduce hero section height (600px → 350px mobile, 450px desktop) - Improve font-size consistency (1.125rem for body text) Addresses typography crisis identified in site review.
This commit is contained in:
@@ -23,6 +23,7 @@ export default function RootLayout({
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+Myanmar:wght@300;400;500;600;700&display=swap" rel="stylesheet" />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Padauk:wght@400;700&display=swap" rel="stylesheet" />
|
||||
</head>
|
||||
<body className={`${inter.className} bg-gray-50`}>
|
||||
<Header />
|
||||
|
||||
Reference in New Issue
Block a user