Skip to content

Commit

Permalink
Fix: double declare uui-h styles to bring back old specificity
Browse files Browse the repository at this point in the history
  • Loading branch information
madsrasmussen committed Nov 21, 2024
1 parent 8f781ce commit 202f095
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/uui-css/lib/uui-text.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}

.uui-text h1,
.uui-h1 {
.uui-h1.uui-h1 {
font-size: var(--uui-type-h1-size);
line-height: var(--uui-size-layout-4);
font-weight: 300;
Expand All @@ -38,7 +38,7 @@
}

.uui-text h2,
.uui-h2 {
.uui-h2.uui-h2 {
font-size: var(--uui-type-h2-size);
line-height: var(--uui-size-layout-3);
font-weight: 300;
Expand All @@ -58,7 +58,7 @@
}

.uui-text h3,
.uui-h3 {
.uui-h3.uui-h3 {
font-size: var(--uui-type-h3-size);
line-height: var(--uui-size-large);
font-weight: 300;
Expand All @@ -74,7 +74,7 @@
}

.uui-text h4,
.uui-h4 {
.uui-h4.uui-h4 {
font-size: var(--uui-type-h4-size);
line-height: 21px;
font-weight: 400;
Expand All @@ -90,7 +90,7 @@
}

.uui-text h5,
.uui-h5 {
.uui-h5.uui-h5 {
font-size: var(--uui-type-h5-size);
line-height: inherit;
font-weight: 700;
Expand Down

0 comments on commit 202f095

Please sign in to comment.