Skip to content

Commit

Permalink
Update page selector (#59284)
Browse files Browse the repository at this point in the history
Unlinked contributors: pablohoneyhoney.

Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
  • Loading branch information
3 people authored and getdave committed Feb 27, 2024
1 parent 3bf1514 commit afff734
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/dataviews/src/pagination.js
Expand Up @@ -27,7 +27,12 @@ const Pagination = memo( function Pagination( {
justify="end"
className="dataviews-pagination"
>
<HStack justify="flex-start" expanded={ false } spacing={ 2 }>
<HStack
justify="flex-start"
expanded={ false }
spacing={ 2 }
className="dataviews-pagination__page-selection"
>
{ createInterpolateElement(
sprintf(
// translators: %s: Total number of pages.
Expand Down
7 changes: 7 additions & 0 deletions packages/dataviews/src/style.scss
Expand Up @@ -38,6 +38,13 @@
color: $gray-700;
}

.dataviews-pagination__page-selection {
font-size: 11px;
text-transform: uppercase;
font-weight: 500;
color: $gray-900;
}

.dataviews-filters-options {
margin: $grid-unit-40 0 $grid-unit-20;
}
Expand Down

0 comments on commit afff734

Please sign in to comment.