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:
+3
-7
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user