Skip to content
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

PF card: Adapt for PF's pf-m-wrap option #19471

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

garrett
Copy link
Member

@garrett garrett commented Oct 12, 2023

This is very invasive, as PF doesn't have a good default and are only adding wrapping as an option. Without the mandatory option, layouts break and run off pages, especially (but not only) in mobile.

Related https://github.com/patternfly/patternfly/pull/5972/files

@garrett
Copy link
Member Author

garrett commented Oct 12, 2023

Oh, this doesn't even work.

image

@garrett
Copy link
Member Author

garrett commented Oct 12, 2023

@jelly: I'm handing this over to you. I hope you can get it working.

(It could be that the PF patch doesn't do what's intended.)

@jelly
Copy link
Member

jelly commented Oct 12, 2023

@jelly: I'm handing this over to you. I hope you can get it working.

(It could be that the PF patch doesn't do what's intended.)

After some debugging it seems that the React components we use different CSS styles so react-styles has to be updated

cp node_modules/@patternfly/patternfly/components/Card/card.css node_modules/@patternfly/react-styles/css/components/Card/card.css
jelly

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