mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
[Closes #16460] Fix .pagination-sm line height
[Closes #16460] Fix .pagination-sm line height by adding `@line-height-small` to `.pagingation-sm`.
This commit is contained in:
parent
9bf6e107e3
commit
5907347382
@ -1,11 +1,12 @@
|
|||||||
// Pagination
|
// Pagination
|
||||||
|
|
||||||
.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @border-radius) {
|
.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
|
||||||
> li {
|
> li {
|
||||||
> a,
|
> a,
|
||||||
> span {
|
> span {
|
||||||
padding: @padding-vertical @padding-horizontal;
|
padding: @padding-vertical @padding-horizontal;
|
||||||
font-size: @font-size;
|
font-size: @font-size;
|
||||||
|
line-height: @line-height;
|
||||||
}
|
}
|
||||||
&:first-child {
|
&:first-child {
|
||||||
> a,
|
> a,
|
||||||
|
@ -80,10 +80,10 @@
|
|||||||
|
|
||||||
// Large
|
// Large
|
||||||
.pagination-lg {
|
.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
|
// Small
|
||||||
.pagination-sm {
|
.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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user