2
0
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:
Mark Otto
2013-07-26 15:51:25 -07:00
parent 68827689e8
commit 01c6617f79
4 changed files with 49 additions and 17 deletions
+8 -4
View File
@@ -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