diff options
author | Mark Otto <markd.otto@gmail.com> | 2020-11-09 12:27:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-09 12:27:20 +0300 |
commit | fb3a57b7ba9c7b84c6e7343a816d1932377e2059 (patch) | |
tree | 607ce9756d86be403b50d66c71611e4460110ef2 /scss | |
parent | 5bd7aa365cc268ec52fbdf4e139242a0c9769939 (diff) |
Drop `.btn-block` classes, replace with utilities (#31995)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Diffstat (limited to 'scss')
-rw-r--r-- | scss/_buttons.scss | 15 | ||||
-rw-r--r-- | scss/_variables.scss | 2 |
2 files changed, 0 insertions, 17 deletions
diff --git a/scss/_buttons.scss b/scss/_buttons.scss index e17d4895e1..8f28d02773 100644 --- a/scss/_buttons.scss +++ b/scss/_buttons.scss @@ -107,18 +107,3 @@ .btn-sm { @include button-size($btn-padding-y-sm, $btn-padding-x-sm, $btn-font-size-sm, $btn-border-radius-sm); } - - -// -// Block button -// - -.btn-block { - display: block; - width: 100%; - - // Vertically space out multiple block buttons - + .btn-block { - margin-top: $btn-block-spacing-y; - } -} diff --git a/scss/_variables.scss b/scss/_variables.scss index 358b43dd52..2a8b45e14c 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -605,8 +605,6 @@ $btn-link-color: $link-color !default; $btn-link-hover-color: $link-hover-color !default; $btn-link-disabled-color: $gray-600 !default; -$btn-block-spacing-y: .5rem !default; - // Allows for customizing button radius independently from global border radius $btn-border-radius: $border-radius !default; $btn-border-radius-sm: $border-radius-sm !default; |