_sass/bootstrap/mixins/_pagination.scss in jumbo-jekyll-theme-5.6.9.4 vs _sass/bootstrap/mixins/_pagination.scss in jumbo-jekyll-theme-5.7.0
- old
+ new
@@ -1,23 +1,21 @@
// Pagination
-@mixin 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;
- }
+@mixin pagination-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {
+ .page-link {
+ padding: $padding-y $padding-x;
+ font-size: $font-size;
+ line-height: $line-height;
+ }
+
+ .page-item {
&:first-child {
- > a,
- > span {
+ .page-link {
@include border-left-radius($border-radius);
}
}
&:last-child {
- > a,
- > span {
+ .page-link {
@include border-right-radius($border-radius);
}
}
}
}