mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-02 16:04:07 +03:00
Update inline and horizontal forms
* No more need for `.row.form-group`--only need `.form-group` * Change tag selectors for inline form to use `.form-control` * Docs improved to explain what's happening
This commit is contained in:
+8
-4
@@ -388,9 +388,7 @@ select {
|
||||
// --------------------------------------------------
|
||||
|
||||
.form-inline {
|
||||
input,
|
||||
select,
|
||||
textarea,
|
||||
.form-control,
|
||||
.radio,
|
||||
.checkbox {
|
||||
display: inline-block;
|
||||
@@ -408,7 +406,13 @@ select {
|
||||
// Horizontal forms are built on grid classes.
|
||||
|
||||
.form-horizontal .control-label {
|
||||
padding-top: 6px;
|
||||
padding-top: 6px;
|
||||
}
|
||||
|
||||
.form-horizontal {
|
||||
.form-group {
|
||||
.make-row();
|
||||
}
|
||||
}
|
||||
|
||||
// Only right align form labels here when the columns stop stacking
|
||||
|
||||
Reference in New Issue
Block a user