Skip to content

Commit

Permalink
Fixed border radius var name and .show target
Browse files Browse the repository at this point in the history
  • Loading branch information
Kopyov authored and mdo committed Feb 16, 2022
1 parent 42da2b9 commit 2a09f10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scss/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
.btn-check:active + &,
&:active,
&.active,
.show > &.dropdown-toggle {
&.show {
color: var(--#{$variable-prefix}btn-active-color);
background-color: var(--#{$variable-prefix}btn-active-bg);
// Remove CSS gradients if they're enabled
Expand Down
2 changes: 1 addition & 1 deletion scss/mixins/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@
@mixin button-size($padding-y, $padding-x, $font-size, $border-radius) {
--#{$variable-prefix}btn-padding: #{$padding-y} #{$padding-x};
@include rfs($font-size, --#{$variable-prefix}btn-font-size);
--#{$variable-prefix}btn-radius: #{$border-radius};
--#{$variable-prefix}btn-border-radius: #{$border-radius};
}
// scss-docs-end btn-size-mixin

0 comments on commit 2a09f10

Please sign in to comment.