aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-26 13:51:12 -0800
committerMark Otto <[email protected]>2012-01-26 13:51:12 -0800
commit78652a707f8ae2d98b1cd434b4bca546d2948236 (patch)
treeb8a66895ad99b003b421a1b9af44f41b3725aa07
parentb7f22e27ec89049f4347ae5249e97c08eb8d6a2f (diff)
downloadbootstrap-78652a707f8ae2d98b1cd434b4bca546d2948236.tar.xz
bootstrap-78652a707f8ae2d98b1cd434b4bca546d2948236.zip
allow icons in small buttons
-rw-r--r--lib/button-groups.less5
-rw-r--r--lib/buttons.less3
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/button-groups.less b/lib/button-groups.less
index 17957f1d6..5fb0a8e97 100644
--- a/lib/button-groups.less
+++ b/lib/button-groups.less
@@ -114,3 +114,8 @@
}
}
+// Small button dropdowns
+.btn.small .caret {
+ margin-top: 4px;
+}
+
diff --git a/lib/buttons.less b/lib/buttons.less
index cebacd049..118af568a 100644
--- a/lib/buttons.less
+++ b/lib/buttons.less
@@ -132,6 +132,9 @@
padding: 7px 9px 7px;
font-size: @baseFontSize - 2px;
}
+ &.small .icon {
+ margin-top: -2px;
+ }
}
// Help Firefox not be a jerk about adding extra padding to buttons