New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(tabs): added default border to secondary, cleaned up modifiers #5171
Conversation
Preview: https://patternfly-pr-5171.surge.sh A11y report: https://patternfly-pr-5171-a11y.surge.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks @jenny-s51! Just one thing - the tabs demos should currently reflect the correct usage of secondary tabs borders, and the secondary tabs in the modal tab demo do not have a bottom border. With this update, we'll need to add tabs--HasNoBorderBottom
here, and I think we could use tabs--IsSecondary
in favor of pf-m-secondary
, too -
{{#> tabs tabs--id=(concat modal-template--id '-tabs') tabs--modifier="pf-m-inset-none pf-m-secondary"}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😎
@mmenestr would you mind reviewing this and make sure the tabs examples and demos look ok? This is the breaking change to add borders to secondary tabs by default. |
Looks good, just missing the border in the modal example as well! |
Co-authored-by: Michael Coker <35148959+mcoker@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!! Thanks @jenny-s51
🎉 This PR is included in version 1.2.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 5.0.0-alpha.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Closes #5128