From: Mark Otto Date: Thu, 26 Jan 2012 21:51:12 +0000 (-0800) Subject: allow icons in small buttons X-Git-Tag: v2.0.0~6^2~151 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=78652a707f8ae2d98b1cd434b4bca546d2948236;p=thirdparty%2Fbootstrap.git allow icons in small buttons --- diff --git a/lib/button-groups.less b/lib/button-groups.less index 17957f1d60..5fb0a8e975 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 cebacd049b..118af568a6 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