Fixed border radius var name and .show target

This commit is contained in:
Eugene Kopyov 2022-02-15 14:04:16 +01:00 committed by Mark Otto
parent 42da2b9556
commit 2a09f10676
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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