Skip to content

Commit

Permalink
[Closes twbs#16460] Fix .pagination-sm line height
Browse files Browse the repository at this point in the history
[Closes twbs#16460] Fix .pagination-sm line height by adding `@line-height-small` to `.pagingation-sm`.
  • Loading branch information
kkirsche committed May 13, 2015
1 parent 9bf6e10 commit 58cf40c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion less/mixins/pagination.less
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
// Pagination

.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @border-radius) {
.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
> li {
> a,
> span {
padding: @padding-vertical @padding-horizontal;
font-size: @font-size;
line-height: @line-height;
}
&:first-child {
> a,
Expand Down
2 changes: 1 addition & 1 deletion less/pagination.less
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,5 @@

// Small
.pagination-sm {
.pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @border-radius-small);
.pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
}

0 comments on commit 58cf40c

Please sign in to comment.