Skip to content

Commit 012ffee

Browse files
authored
Merge pull request #965 from umbraco/v1/bugfix/uui-h-class-specificity
Fix: double declare uui-h styles to bring back previous specificity
2 parents 6f008c0 + 202f095 commit 012ffee

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/uui-css/lib/uui-text.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919

2020
.uui-text h1,
21-
.uui-h1 {
21+
.uui-h1.uui-h1 {
2222
font-size: var(--uui-type-h1-size);
2323
line-height: var(--uui-size-layout-4);
2424
font-weight: 300;
@@ -38,7 +38,7 @@
3838
}
3939

4040
.uui-text h2,
41-
.uui-h2 {
41+
.uui-h2.uui-h2 {
4242
font-size: var(--uui-type-h2-size);
4343
line-height: var(--uui-size-layout-3);
4444
font-weight: 300;
@@ -58,7 +58,7 @@
5858
}
5959

6060
.uui-text h3,
61-
.uui-h3 {
61+
.uui-h3.uui-h3 {
6262
font-size: var(--uui-type-h3-size);
6363
line-height: var(--uui-size-large);
6464
font-weight: 300;
@@ -74,7 +74,7 @@
7474
}
7575

7676
.uui-text h4,
77-
.uui-h4 {
77+
.uui-h4.uui-h4 {
7878
font-size: var(--uui-type-h4-size);
7979
line-height: 21px;
8080
font-weight: 400;
@@ -90,7 +90,7 @@
9090
}
9191

9292
.uui-text h5,
93-
.uui-h5 {
93+
.uui-h5.uui-h5 {
9494
font-size: var(--uui-type-h5-size);
9595
line-height: inherit;
9696
font-weight: 700;

0 commit comments

Comments
 (0)