mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
improve badge font size
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user