Skip to content

Commit

Permalink
[Closes #16460] Fix .pagination-sm line height
Browse files Browse the repository at this point in the history
[Closes #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 5907347
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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
4 changes: 2 additions & 2 deletions less/pagination.less
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@

// Large
.pagination-lg {
.pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @border-radius-large);
.pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
}

// 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 5907347

Please sign in to comment.