-
Notifications
You must be signed in to change notification settings - Fork 56
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
Modal: fix margin between text and buttons #1658
Conversation
be6c3cf
to
4e54a38
Compare
✅ Deploy Preview for boosted ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
This comment was marked as outdated.
This comment was marked as outdated.
✅ Deploy Preview for boosted ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
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 think such modifications should definitely be applied on all modals in the doc.
That said, 3 points to discuss about:
- actually wondering if those spacings should be in the modal classes themselves since it will be more transparent to users
- Shall the spacings be pixel perfect ?
- Shall we change the spacings between
.modal-header
and.modal-body
to be brand compliant ? (20px, sm+:25px)
03a405f
to
1630afe
Compare
26041a9
to
8f6a63f
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.
LGTM 🚀
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
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! Last step is the design review and then 🚀
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
2f24de3
to
6ff4520
Compare
It's difficult to read the history with the force pushes. Is there anything new in this PR in the last commits I need to check since my last review? |
5b7af47
to
6d0783d
Compare
@Franco-Riccitelli: thanks a lot for your helpful comment. As I said I opened a distinct issue for the redesign of modals. The current PR will only tackle the probleme described in the related issue #1331: the distance between According to your screenshot, it must be In this PR we currently have:
So I think we are good. @louismaximepiton, you made the review, is it still ok for you? Last remaining point according to your screenshots @Franco-Riccitelli, modals with scrolling are an edge case with a spacing of only Currently we have:
So no change needed. Is it ok for both of you? |
@Franco-Riccitelli: is the 'ok design' label ok for you? |
@MewenLeHo What if there's no |
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.
There's an issue with the spacing between the line and the buttons inside the scrollable content one at the bottom. Maybe part of the last commit ?
It should be better after the fix. But I had to add a specific variable for the scrollable modals and I am still not sure if I like it or not... 🤔 |
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.
Few things to tackle
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Related issues
Closes #1331
Description
Adding spacing utilities.
Motivation & Context
Respect DSM for modals: https://system.design.orange.com/0c1af118d/p/16d9f3-modals/b/774d3d/i/66611040
Types of change
Live previews
Checklist
npm run lint
)