patternfly-react
patternfly-react copied to clipboard
Bug - Card - Card header actions take up more than 50% width
Describe the problem When the window width is reduced, the card header actions take up more than 50% of the horizontal width.
Before (PF4):
After (PF5):
How do you reproduce the problem? https://codesandbox.io/p/sandbox/card-header-space-issue-p2g5sn?file=%2Findex.tsx%3A7%2C8 Slide the preview window smaller
Expected behavior Would expect to see the actions take up no more than 50% of the horizontal width
What is your product and what release date are you targeting? OCM, Q4 2022
Workaround
.pf-v5-c-card__header-main {
flex-basis: auto;
}