From 4f136d934aa575f190952e0ba525ac5f2565d602 Mon Sep 17 00:00:00 2001 From: Alex Jegtnes Date: Fri, 1 Mar 2024 16:24:28 +0000 Subject: [PATCH] Add fancy text wrap for Chrome users --- src/_styles/global.css | 4 ++++ src/_styles/typography.css | 1 + 2 files changed, 5 insertions(+) diff --git a/src/_styles/global.css b/src/_styles/global.css index 45487e1..1c7502e 100644 --- a/src/_styles/global.css +++ b/src/_styles/global.css @@ -11,6 +11,10 @@ body { font-size: var(--step-0); } +.flow { + text-wrap: pretty; +} + .flow > * + *, .flow > dl > * { margin-block-start: var(--flow-space, 1em) diff --git a/src/_styles/typography.css b/src/_styles/typography.css index 4dd4cc7..2676c1c 100644 --- a/src/_styles/typography.css +++ b/src/_styles/typography.css @@ -6,6 +6,7 @@ h5, h6 { font-family: "Noord Regular"; font-weight: 500; + text-wrap: balance; } .hefty-boi {