Skip to content

Commit

Permalink
fix: use css variables
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasguillot committed Nov 14, 2023
1 parent 014f33a commit 06eb6a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scss/blocks/_query-pagination.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

.wp-block-query-pagination-numbers,
.wp-block-comments-pagination-numbers {
gap: 0.125rem;
gap: calc(var(--wp--preset--spacing--20) / 4);

a,
.current {
Expand Down Expand Up @@ -44,8 +44,8 @@
content: '';
display: inline-block;
height: 100%;
margin-right: 32px;
width: calc(50% - 16px);
margin-right: var(--wp--preset--spacing--30);
width: calc(50% - (var(--wp--preset--spacing--30) / 2));
}
}
}
Expand Down

0 comments on commit 06eb6a0

Please sign in to comment.