From cbcaf6597b1b766edaabb87fe3329689cd6b1056 Mon Sep 17 00:00:00 2001 From: sunhao Date: Fri, 26 Jan 2024 09:03:29 +0800 Subject: [PATCH] * typography: add text-wrap style to headings and blockquotes. --- lib/typography/src/style/blockquote.css | 1 + lib/typography/src/style/heading.css | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/typography/src/style/blockquote.css b/lib/typography/src/style/blockquote.css index 2b12c0f8e7..e39c40a483 100644 --- a/lib/typography/src/style/blockquote.css +++ b/lib/typography/src/style/blockquote.css @@ -1,5 +1,6 @@ blockquote, .blockquote { @apply -border-l-4 -pl-3 -text-md; + text-wrap: balance; } blockquote figcaption , .blockquote figcaption { @apply -text-gray-500 -text-sm; diff --git a/lib/typography/src/style/heading.css b/lib/typography/src/style/heading.css index d749912e29..4f3d607ee1 100644 --- a/lib/typography/src/style/heading.css +++ b/lib/typography/src/style/heading.css @@ -5,6 +5,7 @@ h4, .h4, h5, .h5, h6, .h6 { @apply -leading-normal -font-bold; + text-wrap: balance; } h1, .h1 { @apply -text-h1;