mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
fixes #3210: add .btn to .navbar-form to remove bottom margin, improve vertical align of contents of .navbar-form
This commit is contained in:
+4
-3
@@ -72,7 +72,7 @@
|
||||
// Buttons in navbar
|
||||
.btn,
|
||||
.btn-group {
|
||||
.navbarVerticalAlign(30px); // Vertically center in navbar
|
||||
.navbarVerticalAlign(28px); // Vertically center in navbar
|
||||
}
|
||||
.btn-group .btn {
|
||||
margin: 0; // then undo the margin here so we don't accidentally double it
|
||||
@@ -87,10 +87,11 @@
|
||||
select,
|
||||
.radio,
|
||||
.checkbox {
|
||||
.navbarVerticalAlign(30px); // Vertically center in navbar
|
||||
.navbarVerticalAlign(28px); // Vertically center in navbar
|
||||
}
|
||||
input,
|
||||
select {
|
||||
select,
|
||||
.btn {
|
||||
display: inline-block;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
|
||||
// Body reset
|
||||
// ----------
|
||||
// -------------------------
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
@@ -17,7 +17,7 @@ body {
|
||||
|
||||
|
||||
// Links
|
||||
// -----
|
||||
// -------------------------
|
||||
|
||||
a {
|
||||
color: @linkColor;
|
||||
|
||||
Reference in New Issue
Block a user