aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2020-07-31 06:49:28 -0700
committerGitHub <[email protected]>2020-07-31 16:49:28 +0300
commit16adcf2de942a310c2bf4addaf0a80cb7e744ff5 (patch)
treee330817aa1169d516afb7f076162ac872a827f43 /scss
parent2bceb3e79d848a101e7aa5fc4b2020e681b1dfc3 (diff)
downloadbootstrap-16adcf2de942a310c2bf4addaf0a80cb7e744ff5.tar.xz
bootstrap-16adcf2de942a310c2bf4addaf0a80cb7e744ff5.zip
Adjust sizing of checks and radios (#31383)
Moves from 1.25em to 1em to better support custom font-size-base values. Most common would probably be .875rem (14px) and current sizing garbles that into 1.09-ish, thus causing the rendering issues in #31269. Co-authored-by: Martijn Cuppens <[email protected]>
Diffstat (limited to 'scss')
-rw-r--r--scss/_variables.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 76394c225..6b9ae3d3f 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -658,7 +658,7 @@ $input-height-lg: add($input-line-height * 1em, add($input
$input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
-$form-check-input-width: 1.25em !default;
+$form-check-input-width: 1em !default;
$form-check-min-height: $font-size-base * $line-height-base !default;
$form-check-padding-left: $form-check-input-width + .5em !default;
$form-check-margin-bottom: .125rem !default;