0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-03 15:24:19 +01:00

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 + &, .btn-check:active + &,
&:active, &:active,
&.active, &.active,
.show > &.dropdown-toggle { &.show {
color: var(--#{$variable-prefix}btn-active-color); color: var(--#{$variable-prefix}btn-active-color);
background-color: var(--#{$variable-prefix}btn-active-bg); background-color: var(--#{$variable-prefix}btn-active-bg);
// Remove CSS gradients if they're enabled // Remove CSS gradients if they're enabled

View File

@ -65,6 +65,6 @@
@mixin button-size($padding-y, $padding-x, $font-size, $border-radius) { @mixin button-size($padding-y, $padding-x, $font-size, $border-radius) {
--#{$variable-prefix}btn-padding: #{$padding-y} #{$padding-x}; --#{$variable-prefix}btn-padding: #{$padding-y} #{$padding-x};
@include rfs($font-size, --#{$variable-prefix}btn-font-size); @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 // scss-docs-end btn-size-mixin