Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: double declare uui-h styles to bring back previous specificity #965

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading