diff --git a/assets/sass/_theme/design-system/pagination.sass b/assets/sass/_theme/design-system/pagination.sass index a2b3e32e0f01a93b2951a4d7dda49b87ba3d1bad..5ba967bda2a3f7f21271316fd7ac28184f039c11 100644 --- a/assets/sass/_theme/design-system/pagination.sass +++ b/assets/sass/_theme/design-system/pagination.sass @@ -28,23 +28,26 @@ &:first-child a @include icon-block(arrow-first, before) - padding-left: 0 - padding-right: 0 &:nth-child(2) a @include icon-block(arrow-previous, before) - padding-left: 0 - padding-right: 0 &:nth-last-child(2) a @include icon-block(arrow-next, before) - padding-left: 0 - padding-right: 0 &:last-child a @include icon-block(arrow-last, before) + &:first-child, + &:nth-child(2), + &:nth-last-child(2), + &:last-child + a padding-left: 0 padding-right: 0 + margin-left: calc(#{$spacing-1} * -1) + margin-right: calc(#{$spacing-1} * -1) + + .posts-navigation, .siblings-navigation border-top: 1px solid var(--color-border)