0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-12 00:08:59 +01:00
Bootstrap/less/mixins/pagination.less
Kevin Kirsche 5907347382 [Closes #16460] Fix .pagination-sm line height
[Closes #16460] Fix .pagination-sm line height by adding `@line-height-small` to `.pagingation-sm`.
2015-05-13 16:30:40 -04:00

25 lines
485 B
Plaintext

// Pagination
.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,
> span {
.border-left-radius(@border-radius);
}
}
&:last-child {
> a,
> span {
.border-right-radius(@border-radius);
}
}
}
}