Skip to content

Commit

Permalink
Update line-height-normal and white-space (#690)
Browse files Browse the repository at this point in the history
* Update line-height-normal and white-space

* Add changeset

* Update changeset
  • Loading branch information
homing1 authored Oct 4, 2024
1 parent bd2f360 commit 0f89f52
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/great-ravens-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@microsoft/atlas-css': patch
---

Add !important flag to line-height-normal and white-space atomics.
10 changes: 5 additions & 5 deletions css/src/atomics/typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 0f89f52

Please sign in to comment.