2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-30 15:24:08 +03:00

fixes #4771: widen .form-horizontal labels and .dl-horizontal terms given larger font-size of 2.1.0

This commit is contained in:
Mark Otto
2012-08-28 10:12:04 -07:00
parent 545edf5459
commit e27b1355b5
5 changed files with 18 additions and 13 deletions
+4 -4
View File
@@ -615,7 +615,7 @@ legend + .control-group {
// Float the labels left
.control-label {
float: left;
width: 140px;
width: @horizontalComponentOffset - 20;
padding-top: 5px;
text-align: right;
}
@@ -625,10 +625,10 @@ legend + .control-group {
// don't inherit the margin of the parent, in this case .controls
*display: inline-block;
*padding-left: 20px;
margin-left: 160px;
margin-left: @horizontalComponentOffset;
*margin-left: 0;
&:first-child {
*padding-left: 160px;
*padding-left: @horizontalComponentOffset;
}
}
// Remove bottom margin on block level help text since that's accounted for on .control-group
@@ -645,6 +645,6 @@ legend + .control-group {
}
// Move over buttons in .form-actions to align with .controls
.form-actions {
padding-left: 160px;
padding-left: @horizontalComponentOffset;
}
}