Skip to content

Conversation

@nicolethoen
Copy link
Contributor

What: Closes #8260

Moves the pf-c-skip-to-content class off of the Button and onto a div wrapping the Button.

@nicolethoen nicolethoen requested a review from mcoker February 3, 2023 16:50
@nicolethoen nicolethoen linked an issue Feb 3, 2023 that may be closed by this pull request
@patternfly-build
Copy link
Contributor

patternfly-build commented Feb 3, 2023

Copy link
Contributor

@mcoker mcoker left a comment

Choose a reason for hiding this comment

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

LGTM - a question about using the button component. Also there is a show prop that says it's used for demo purposes - do we have a use case for that or could we remove it?

Copy link
Contributor

@thatblindgeye thatblindgeye left a comment

Choose a reason for hiding this comment

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

Just a snapshot update/and a linting error that needs to be resolved, otherwise looks good

Copy link
Contributor

@mcoker mcoker left a comment

Choose a reason for hiding this comment

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

LGTM other than the linting

...props
}: SkipToContentProps) => (
<div className={css(styles.skipToContent, className)} {...props}>
<Button variant={ButtonVariant.primary} component='a' href={href}>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<Button variant={ButtonVariant.primary} component='a' href={href}>
<Button variant={ButtonVariant.primary} component="a" href={href}>

@nicolethoen nicolethoen force-pushed the skip_to_content_update branch from 5240ce4 to 1e24b1f Compare February 28, 2023 19:07
@gitdallas gitdallas merged commit 0808215 into patternfly:v5 Mar 1, 2023
@patternfly-build
Copy link
Contributor

Your changes have been released in:

  • @patternfly/react-code-editor@5.0.0-alpha.17
  • @patternfly/react-core@5.0.0-alpha.17
  • @patternfly/react-docs@6.0.0-alpha.19
  • @patternfly/react-table@5.0.0-alpha.17

Thanks for your contribution! 🎉

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.

Skip to content and button style conflict

7 participants