mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-31 00:59:51 +02:00
Clean up line heights & add line height utilities (#29271)
This commit is contained in:
committed by
XhmikosR
parent
ae249e8f55
commit
007ea0d8d0
@@ -13,8 +13,7 @@
|
||||
float: left;
|
||||
width: $form-check-input-width;
|
||||
height: $form-check-input-width;
|
||||
// Todo: Change static value to base line-height?
|
||||
margin-top: calc((1.5em - #{$form-check-input-width}) / 2); // line-height minus check height
|
||||
margin-top: ($line-height-base - $form-check-input-width) / 2; // line-height minus check height
|
||||
margin-left: $form-check-padding-left * -1;
|
||||
background-color: $form-check-input-bg;
|
||||
border: $form-check-input-border;
|
||||
|
Reference in New Issue
Block a user