Skip to content

Commit

Permalink
Limit width to container
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Jan 2, 2025
1 parent 9134490 commit a5a9be3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/components/src/badge/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ $badge-colors: (
);

.components-badge {
@include reset;

background-color: color-mix(in srgb, $white 90%, var(--base-color));
color: color-mix(in srgb, $black 50%, var(--base-color));
padding: 0 $grid-unit-10;
min-height: $grid-unit-30;
max-width: 100%;
border-radius: $radius-small;
font-size: $font-size-small;
font-weight: 400;
Expand Down

0 comments on commit a5a9be3

Please sign in to comment.