mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-28 23:59:53 +02:00
fixes border-width issues when customizing font-size by using 1px instead of .0625rem as default -width
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
// For use with horizontal and inline forms, when you need the label text to
|
||||
// align with the form controls.
|
||||
.form-control-label {
|
||||
padding: ($input-padding-y + $border-width) $input-padding-x;
|
||||
padding: $input-padding-y $input-padding-x;
|
||||
margin-bottom: 0; // Override the `<label>` default
|
||||
}
|
||||
|
||||
@@ -120,8 +120,8 @@
|
||||
.form-control-static {
|
||||
min-height: $input-height;
|
||||
// Size it appropriately next to real form controls
|
||||
padding-top: ($input-padding-y + $border-width);
|
||||
padding-bottom: ($input-padding-y + $border-width);
|
||||
padding-top: $input-padding-y;
|
||||
padding-bottom: $input-padding-y;
|
||||
// Remove default margin from `p`
|
||||
margin-bottom: 0;
|
||||
|
||||
|
Reference in New Issue
Block a user