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 <martijn.cuppens@gmail.com>
This commit is contained in:
Mark Otto 2020-07-31 06:49:28 -07:00 committed by GitHub
parent 2bceb3e79d
commit 16adcf2de9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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