aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-07-09 21:01:29 -0700
committerMark Otto <[email protected]>2012-07-09 21:01:29 -0700
commitf495a8d0cc48d1440198e784a8f336a82e3a48bd (patch)
treeb0f6d178fc7c88c5c566785d245c109fab45bc5b /less
parent413c05a09d42d59df75267a14bd6019b0f6bf1cc (diff)
downloadbootstrap-f495a8d0cc48d1440198e784a8f336a82e3a48bd.tar.xz
bootstrap-f495a8d0cc48d1440198e784a8f336a82e3a48bd.zip
fixes #3210: add .btn to .navbar-form to remove bottom margin, improve vertical align of contents of .navbar-form
Diffstat (limited to 'less')
-rw-r--r--less/navbar.less7
-rw-r--r--less/scaffolding.less4
2 files changed, 6 insertions, 5 deletions
diff --git a/less/navbar.less b/less/navbar.less
index 660838eb8..c58fd83d0 100644
--- a/less/navbar.less
+++ b/less/navbar.less
@@ -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;
}
diff --git a/less/scaffolding.less b/less/scaffolding.less
index 5bc90cc16..a218c5478 100644
--- a/less/scaffolding.less
+++ b/less/scaffolding.less
@@ -4,7 +4,7 @@
// Body reset
-// ----------
+// -------------------------
body {
margin: 0;
@@ -17,7 +17,7 @@ body {
// Links
-// -----
+// -------------------------
a {
color: @linkColor;