aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Lindig <[email protected]>2013-09-12 10:45:15 +0200
committerChris Rebert <[email protected]>2013-10-03 10:43:35 -0700
commit70453c2327c3ebcf704e485f8f9e34140f6a099e (patch)
tree484c3693c9cbef6037ef3842caae03a36a1adb54
parentc43462678cd0c561e075a536cc9796cabb1257c8 (diff)
downloadbootstrap-70453c2327c3ebcf704e485f8f9e34140f6a099e.tar.xz
bootstrap-70453c2327c3ebcf704e485f8f9e34140f6a099e.zip
unify button sizing, use mixin ".button-size" also for the base sized button
-rw-r--r--less/buttons.less5
1 files changed, 1 insertions, 4 deletions
diff --git a/less/buttons.less b/less/buttons.less
index 40511ab96..a0909606f 100644
--- a/less/buttons.less
+++ b/less/buttons.less
@@ -9,18 +9,15 @@
// Core styles
.btn {
display: inline-block;
- padding: @padding-base-vertical @padding-base-horizontal;
margin-bottom: 0; // For input.btn
- font-size: @font-size-base;
font-weight: @btn-font-weight;
- line-height: @line-height-base;
text-align: center;
vertical-align: middle;
cursor: pointer;
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
border: 1px solid transparent;
- border-radius: @border-radius-base;
white-space: nowrap;
+ .button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @border-radius-base);
.user-select(none);
&:focus {