Skip to content

Conversation

taysea
Copy link
Collaborator

@taysea taysea commented Mar 22, 2023

What does this PR do?

Mirrors approach from #6666 on pagination buttons which have a slightly custom button implementation which was overriding the line-height 0 from the underlying button.

Fixes rendering of next/previous icons on Safari.

Where should the reviewer start?

src/js/components/Pagination/StyledPageControl.js

What testing has been done on this PR?

Tested in storybook with HPE NEXT theme on Safari.

resolved
Screen Shot 2023-03-21 at 5 51 19 PM

How should this be manually tested?

Do Jest tests follow these best practices?

  • screen is used for querying.
  • The correct query is used. (Refer to this list of queries)
  • userEvent is used in place of fireEvent.
  • asFragment() is used for snapshot testing.

Any background context you want to provide?

What are the relevant issues?

Screenshots (if appropriate)

Do the grommet docs need to be updated?

Should this PR be mentioned in the release notes?

Is this change backwards compatible or is it a breaking change?

Backwards compatible.

@ericsoderberghp ericsoderberghp merged commit b249b7a into grommet:master Mar 22, 2023
@taysea taysea deleted the pagination-icon-only branch March 22, 2023 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants