improve badge font size

This commit is contained in:
Cory LaViska
2022-09-20 10:25:01 -04:00
parent acce8eb146
commit c877e16c14
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
## Next
- Increased the default padding for `<sl-badge>` so it's not as tight and scales better with font size
- Improved `<sl-badge>` so it renders relative to the current font size and improved padding
## 2.0.0-beta.83

View File

@@ -12,7 +12,7 @@ export default css`
display: inline-flex;
align-items: center;
justify-content: center;
font-size: var(--sl-font-size-x-small);
font-size: max(12px, 0.75em);
font-weight: var(--sl-font-weight-semibold);
letter-spacing: var(--sl-letter-spacing-normal);
line-height: 1;