From 0f89f529928ea4eda734b2cb0880ccc7ced0a52b Mon Sep 17 00:00:00 2001 From: Ming Ho <94572161+homing1@users.noreply.github.com> Date: Fri, 4 Oct 2024 13:41:51 -0700 Subject: [PATCH] Update line-height-normal and white-space (#690) * Update line-height-normal and white-space * Add changeset * Update changeset --- .changeset/great-ravens-grab.md | 5 +++++ css/src/atomics/typography.scss | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 .changeset/great-ravens-grab.md diff --git a/.changeset/great-ravens-grab.md b/.changeset/great-ravens-grab.md new file mode 100644 index 000000000..986df8d19 --- /dev/null +++ b/.changeset/great-ravens-grab.md @@ -0,0 +1,5 @@ +--- +'@microsoft/atlas-css': patch +--- + +Add !important flag to line-height-normal and white-space atomics. diff --git a/css/src/atomics/typography.scss b/css/src/atomics/typography.scss index 9003164bf..ffb736c35 100644 --- a/css/src/atomics/typography.scss +++ b/css/src/atomics/typography.scss @@ -199,23 +199,23 @@ // Line height .line-height-normal { - line-height: $line-height-normal; + line-height: $line-height-normal !important; } // White space .white-space-normal { - white-space: normal; + white-space: normal !important; } .white-space-nowrap { - white-space: nowrap; + white-space: nowrap !important; } .white-space-pre { - white-space: pre; + white-space: pre !important; } .white-space-pre-wrap { - white-space: pre-wrap; + white-space: pre-wrap !important; }