From d020a67060662eef05e5143bc71a20bd1a739092 Mon Sep 17 00:00:00 2001 From: the3ash <24548223+the3ash@users.noreply.github.com> Date: Thu, 15 Jan 2026 23:56:46 +0800 Subject: [PATCH] chore: tweak typography settings --- src/styles/global.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/styles/global.css b/src/styles/global.css index 5de2ef9..c2d72dc 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -108,13 +108,8 @@ body { font-family: var(--sans); font-feature-settings: 'ss03' 1; font-size: var(--font-size-m); - text-autospace: normal; - text-rendering: optimizeLegibility; line-height: 1.75; color: var(--text-primary); - font-display: swap; - word-wrap: break-word; - overflow-wrap: break-word; margin: 0; min-height: 100vh; display: flex; @@ -123,6 +118,12 @@ body { letter-spacing: var(--spacing-m); padding: 6rem 1.5rem 1.5rem 1.5rem; overscroll-behavior-y: contain; + text-autospace: normal; + text-spacing-trim: space-first; + text-rendering: optimizeLegibility; + font-synthesis: none; + word-wrap: break-word; + overflow-wrap: break-word; } @media (max-width: 768px) { -- 2.51.2