1
0
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:
Mark Otto
2015-09-15 21:11:15 -07:00
parent 3c4b61583f
commit 85f08df3b0
2 changed files with 7 additions and 7 deletions

View File

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