From a7deec2770a90375253f9ca6ac89f2900b804b3f Mon Sep 17 00:00:00 2001 From: Adam Tirella Date: Thu, 6 Apr 2023 11:14:07 -0700 Subject: [PATCH] fix(block): Ensure description has correct line-height (#6723) **Related Issue:** #6443 ## Summary The previous Tailwind text declaration wasn't setting a line-height, meaning the description could unintentionally inherit line-height from a parent container. This wasn't affecting the `collapsible` block as the rendered button has additional style set that prevents the issue. | Before | After | | ----------- | ----------- | | Screen Shot 2023-04-03 at 5 53 38 PM | Screen Shot 2023-04-03 at 5 53 47 PM | --- src/components/block/block.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/block/block.scss b/src/components/block/block.scss index c324798b4c0..0d7ee446665 100644 --- a/src/components/block/block.scss +++ b/src/components/block/block.scss @@ -85,7 +85,7 @@ calcite-handle { } .description { - @apply text-n2 + @apply text-n2-wrap text-color-3 word-break mt-0.5