-
Notifications
You must be signed in to change notification settings - Fork 1
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
Introduce optional uniform appearance of Modal
#DS-1091
#1192
Introduce optional uniform appearance of Modal
#DS-1091
#1192
Conversation
✅ Deploy Preview for spirit-design-system-demo ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for spirit-design-system-react canceled.
|
✅ Deploy Preview for spirit-design-system-validations canceled.
|
✅ Deploy Preview for spirit-design-system-storybook canceled.
|
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.
LGTM, I have just a few small thoughts.
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.
Just two questions, otherwise LGTM
b6d9429
to
a8b3577
Compare
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.
I have written down a few comments, otherwise the appearance is looking good. Nice work 👍
a8b3577
to
51ef849
Compare
Add `spirit-feature-modal-enable-uniform-dialog` feature class to enable uniform appearance of `Modal` across all breakpoints. Current mobile design is then accessible using the `Modal--dockOnMobile` modifier class.
…nsumption Firefox warns about potential high memory consumption when `will-change` is used on big areas. Therefore it seems better to remove it in this case to free up the memory for smaller tweaks in Spirit and also for other performance optimisations our users might want to make. https://dev.opera.com/articles/css-will-change-property/
…te values in `Modal` docs
51ef849
to
b4fccc4
Compare
Description
Add
spirit-feature-modal-enable-uniform-dialog
feature class to enable uniform appearance ofModal
across all breakpoints.Current mobile design is then accessible using the
Modal--dockOnMobile
modifier class.Additional context
We need to make sure it works in all scenarios:
Issue reference
https://jira.lmc.cz/browse/DS-1091