2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Cleanup .navbar-form styles

* Nuke the commented out navbar forms code that's not currently needed
* Add a few more examples to the .navbar-form docs section
* Remove (for now at least) top padding on checkbox and radios
This commit is contained in:
Mark Otto
2013-05-02 22:52:32 -07:00
parent a4f2c9e156
commit bec8c90fd7
3 changed files with 35 additions and 32 deletions
+3 -1
View File
@@ -193,17 +193,19 @@ textarea {
margin-top: ((@line-height-base / 4) * -1);
}
/*
// Move the options list down to align with labels
.controls > .radio:first-child,
.controls > .checkbox:first-child {
padding-top: 5px; // has to be padding because margin collaspes
}
*/
// Radios and checkboxes on same line
.radio-inline,
.checkbox-inline {
display: inline-block;
padding-top: 5px;
// padding-top: 5px;
padding-left: 20px;
margin-bottom: 0;
vertical-align: middle;