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 Feb 22, 2024
1 parent b917a6b commit 02467a5
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,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

1 comment on commit 02467a5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 02467a5.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/8008091079
📝 Reported issues:

Please sign in to comment.