Skip to content

Commit

Permalink
Pretify Code
Browse files Browse the repository at this point in the history
  • Loading branch information
rinkalpagdar committed Jan 23, 2025
1 parent 1a6e3c6 commit 3cedb01
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/block-library/src/comments-pagination/style.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$pagination-margin: 0.5em;
.wp-block-comments-pagination {
box-sizing: border-box;
// This block has customizable padding, border-box makes that more predictable.
box-sizing: border-box;
// Increased specificity to override blocks default margin.
> .wp-block-comments-pagination-next,
> .wp-block-comments-pagination-previous,
Expand All @@ -20,18 +20,18 @@ $pagination-margin: 0.5em;
margin-right: 1ch;
display: inline-block; // Needed so that the transform works.
// chevron(`»`) symbol doesn't need the mirroring by us.
&:not(.is-arrow-chevron) {
&:not( .is-arrow-chevron ) {
// Flip for RTL.
transform: scaleX(1) #{"/*rtl:scaleX(-1);*/"}; // This points the arrow right for LTR and left for RTL.
transform: scaleX( 1 ) #{'/*rtl:scaleX(-1);*/'}; // This points the arrow right for LTR and left for RTL.
}
}
.wp-block-comments-pagination-next-arrow {
margin-left: 1ch;
display: inline-block; // Needed so that the transform works.
// chevron(`»`) symbol doesn't need the mirroring by us.
&:not(.is-arrow-chevron) {
&:not( .is-arrow-chevron ) {
// Flip for RTL.
transform: scaleX(1) #{"/*rtl:scaleX(-1);*/"}; // This points the arrow right for LTR and left for RTL.
transform: scaleX( 1 ) #{'/*rtl:scaleX(-1);*/'}; // This points the arrow right for LTR and left for RTL.
}
}

Expand Down

0 comments on commit 3cedb01

Please sign in to comment.