Skip to content

Commit

Permalink
feat(badge): restore Bootstrap defaults and unset letter-spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed May 14, 2020
1 parent 106141c commit 75ffee5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions scss/_badge.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
line-height: 1;
color: $badge-color;
text-align: center;
letter-spacing: initial; // Boosted mod
white-space: nowrap;
vertical-align: baseline;
@include border-radius($badge-border-radius);
Expand Down
10 changes: 3 additions & 7 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1091,15 +1091,11 @@ $toast-header-border-color: rgba(0, 0, 0, .05) !default;

// Badges

$badge-font-size: $font-size-sm !default;
//$badge-font-size-lg: $font-size-base !default; // Boosted mod
//$badge-font-size-xlg: $font-size-lg !default; // Boosted mod
$badge-font-size: .75em !default;
$badge-font-weight: $font-weight-bold !default;
$badge-color: $white !default;
$badge-padding-y: map-get($spacers, 4) / 10 !default;
$badge-padding-x: map-get($spacers, 2) !default;
//$badge-padding-y-lg: map-get($spacers, 3) / 10 !default; // Boosted mod
//$badge-padding-x-lg: $badge-padding-x / 2 !default; // Boosted mod
$badge-padding-y: .25em !default;
$badge-padding-x: .5em !default;
$badge-border-radius: $border-radius !default;


Expand Down

0 comments on commit 75ffee5

Please sign in to comment.