Skip to content

Commit

Permalink
chore(ui5-badge): enable font-size customisation on tag level (#7929)
Browse files Browse the repository at this point in the history
chore: enable font-size customization on tag level
  • Loading branch information
ilhan007 authored Nov 29, 2023
1 parent 1a9cc86 commit 8e5f0c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/main/src/themes/Badge.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
box-sizing: border-box;
font-family: var(--_ui5-badge-font);
font-weight: var(--_ui5-badge-font-weight);
font-size: var(--_ui5-badge-font-size);
text-align: center;
letter-spacing: var(--_ui5-badge-letter-spacing);
}
Expand All @@ -36,7 +37,7 @@
text-overflow: ellipsis;
text-transform: var(--_ui5-badge-text-transform);
letter-spacing: inherit;
font-size: var(--_ui5-badge-font-size);
font-size: inherit;
}

:host([_icon-only]) {
Expand Down

0 comments on commit 8e5f0c8

Please sign in to comment.