Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit ae62bee

Browse files
authored
Update pagination class names to match our coding guidelines (#4528)
1 parent ea3347b commit ae62bee

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

assets/js/base/components/pagination/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const Pagination = ( {
5858
/>
5959
{ displayNextAndPreviousArrows && (
6060
<button
61-
className="wc-block-pagination-page wc-block-components-pagination__page wc-block-pagination-page--arrow"
61+
className="wc-block-pagination-page wc-block-components-pagination__page wc-block-components-pagination-page--arrow"
6262
onClick={ () => onPageChange( currentPage - 1 ) }
6363
title={ __(
6464
'Previous page',
@@ -175,7 +175,7 @@ const Pagination = ( {
175175
) }
176176
{ displayNextAndPreviousArrows && (
177177
<button
178-
className="wc-block-pagination-page wc-block-components-pagination__page wc-block-pagination-page--arrow"
178+
className="wc-block-pagination-page wc-block-components-pagination__page wc-block-components-pagination-page--arrow"
179179
onClick={ () => onPageChange( currentPage + 1 ) }
180180
title={ __( 'Next page', 'woo-gutenberg-products-block' ) }
181181
disabled={ currentPage >= totalPages }

assets/js/base/components/pagination/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
}
5151
}
5252

53-
html[dir="rtl"] .wc-block-pagination-page--arrow span {
53+
html[dir="rtl"] .wc-block-components-pagination-page--arrow span {
5454
display: inline-block;
5555
transform: scale(-1, 1);
5656
}

0 commit comments

Comments
 (0)