From 590734738227e1298ddf4d81b214b0b944aaae26 Mon Sep 17 00:00:00 2001 From: Kevin Kirsche Date: Tue, 12 May 2015 17:50:29 -0400 Subject: [PATCH] [Closes #16460] Fix .pagination-sm line height [Closes #16460] Fix .pagination-sm line height by adding `@line-height-small` to `.pagingation-sm`. --- less/mixins/pagination.less | 3 ++- less/pagination.less | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/less/mixins/pagination.less b/less/mixins/pagination.less index 7deb505d25f0..618804f2dee3 100644 --- a/less/mixins/pagination.less +++ b/less/mixins/pagination.less @@ -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, diff --git a/less/pagination.less b/less/pagination.less index e94757338c62..31a23bf79ab4 100644 --- a/less/pagination.less +++ b/less/pagination.less @@ -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); }