-
Notifications
You must be signed in to change notification settings - Fork 356
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
feat(Modal): use css vars to set width, add maxWidth #9300
Conversation
Preview: https://patternfly-react-pr-9300.surge.sh A11y report: https://patternfly-react-pr-9300-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.
Can we write unit test to verify these are being applied correctly?
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.
👍👍
* feat(Modal): use css vars to set width, add maxWidth * account for number input * updated for css width * fix space in expected value
What: Closes #8351
Adds
maxWidth
property.Updates
width
andmaxWidth
to be set via css variables instead of directly as a style property.