From c69f32997ed45b64e89eae0a73a75bc357ff43e2 Mon Sep 17 00:00:00 2001 From: Ella Wren Date: Wed, 21 Feb 2024 11:50:05 +0000 Subject: [PATCH] feat: global text wrap styles --- styles/base/typography.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/styles/base/typography.css b/styles/base/typography.css index d770b63..1e24ead 100644 --- a/styles/base/typography.css +++ b/styles/base/typography.css @@ -3,6 +3,7 @@ body { font-size: var(--diamond-font-size-base); -webkit-font-smoothing: antialiased; line-height: var(--diamond-font-line-height); + text-wrap: pretty; } h1, @@ -14,6 +15,7 @@ h4 { line-height: var(--diamond-font-line-height-sm); margin-bottom: var(--diamond-spacing-sm); margin-top: 0; + text-wrap: balance; } h1 {