]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
allow icons in small buttons
authorMark Otto <markdotto@gmail.com>
Thu, 26 Jan 2012 21:51:12 +0000 (13:51 -0800)
committerMark Otto <markdotto@gmail.com>
Thu, 26 Jan 2012 21:51:12 +0000 (13:51 -0800)
lib/button-groups.less
lib/buttons.less

index 17957f1d607a304c977c0f7b4487e2e731aa5255..5fb0a8e9758b0a978acd108da01575237866ae93 100644 (file)
   }
 }
 
+// Small button dropdowns
+.btn.small .caret {
+  margin-top: 4px;
+}
+
index cebacd049b6eb19c0c97296bc8571d99dd95c47b..118af568a697bfc7f96e01c4e0fd8a6c848edc05 100644 (file)
     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