Skip to content

Commit

Permalink
(less) fix .btn-group-xs portion of twbs#10979
Browse files Browse the repository at this point in the history
  • Loading branch information
cvrebert committed Dec 4, 2013
1 parent c9768ed commit e16eec3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 2 additions & 3 deletions buttons.less
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,12 @@
// line-height: ensure even-numbered height of button next to large input
.button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
}
.btn-sm,
.btn-xs {
.btn-sm {
// line-height: ensure proper height of button next to small input
.button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
}
.btn-xs {
padding: 1px 5px;
.button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @border-radius-small);
}


Expand Down
3 changes: 3 additions & 0 deletions variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@
@padding-small-vertical: 5px;
@padding-small-horizontal: 10px;

@padding-xs-vertical: 1px;
@padding-xs-horizontal: 5px;

@line-height-large: 1.33;
@line-height-small: 1.5;

Expand Down

0 comments on commit e16eec3

Please sign in to comment.