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

make horizontal form labels map to default grid sizing

This commit is contained in:
Mark Otto
2012-01-15 11:33:30 -08:00
parent fe160261e4
commit 9f732e90d4
3 changed files with 10 additions and 18 deletions
+3 -7
View File
@@ -461,10 +461,6 @@ input::-webkit-input-placeholder {
.control-group {
margin-bottom: @baseLineHeight;
}
// Bold the labels so they stand out
.control-group > label {
font-weight: bold;
}
// Horizontal-specific styles
// --------------------------
@@ -473,16 +469,16 @@ input::-webkit-input-placeholder {
// Float the labels left
.control-group > label {
float: left;
width: 130px;
width: 120px;
padding-top: 5px;
text-align: right;
}
// Move over all input controls and content
.controls {
margin-left: 150px;
margin-left: 140px;
}
// Move over buttons in .form-actions to align with .controls
.form-actions {
padding-left: 150px;
padding-left: 140px;
}
}