Skip to content

Commit

Permalink
feat(badge): improve sizes variants' spasings
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed Aug 30, 2019
1 parent 859cc5e commit 33b52e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scss/_badge.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
@include badge-variant($value);

@if $color == "info" {
&.badge-lg {
&.badge-lg,
&.badge-xlg {
color: $white;
}
}
Expand All @@ -73,8 +74,10 @@

.badge-xlg {
@include font-size($badge-font-size-xlg);
padding: $badge-padding-y-lg $badge-padding-x-lg;
}

.badge-lg {
@include font-size($badge-font-size-lg);
padding: $badge-padding-y-lg $badge-padding-x-lg;
}
2 changes: 2 additions & 0 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1028,6 +1028,8 @@ $badge-font-size-xlg: $font-size-lg !default;
$badge-font-weight: $font-weight-bold !default;
$badge-padding-y: .1875rem !default;
$badge-padding-x: .625rem !default;
$badge-padding-y-lg: .125rem !default;
$badge-padding-x-lg: .3125rem !default;
$badge-border-radius: $border-radius !default;

$badge-transition: $btn-transition !default;
Expand Down

0 comments on commit 33b52e6

Please sign in to comment.