Skip to content

Commit

Permalink
Merge pull request #965 from umbraco/v1/bugfix/uui-h-class-specificity
Browse files Browse the repository at this point in the history
Fix: double declare uui-h styles to bring back previous specificity
  • Loading branch information
leekelleher authored Nov 25, 2024
2 parents 6f008c0 + 202f095 commit 012ffee
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 012ffee

Please sign in to comment.