Skip to content

Commit

Permalink
feat(pagination): new --#{$prefix}pagination-padding-end CSS var (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
louismaximepiton authored Jul 28, 2022
1 parent 87456e1 commit 5a4f368
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scss/_pagination.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// scss-docs-start pagination-css-vars
--#{$prefix}pagination-padding-x: #{$pagination-padding-x};
--#{$prefix}pagination-padding-y: #{$pagination-padding-y};
--#{$prefix}pagination-padding-end: #{$pagination-padding-end}; // Boosted mod
--#{$prefix}pagination-margin-y: #{$pagination-margin-y}; // Boosted mod
--#{$prefix}pagination-margin-start: #{$pagination-margin-start}; // Boosted mod
--#{$prefix}pagination-margin-x-first-last: #{$pagination-margin-x-first-last}; // Boosted mod
Expand Down Expand Up @@ -160,7 +161,7 @@
margin-right: var(--#{$prefix}pagination-margin-x-first-last);

&:not(:empty) {
padding-right: $pagination-padding-end;
padding-right: var(--#{$prefix}pagination-padding-end);
}

&::before {
Expand All @@ -172,7 +173,7 @@

&:last-child .page-link {
&:not(:empty) {
padding-left: $pagination-padding-end;
padding-left: var(--#{$prefix}pagination-padding-end);
}

&::before {
Expand Down

0 comments on commit 5a4f368

Please sign in to comment.