-
Notifications
You must be signed in to change notification settings - Fork 14
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
Center content of destinations page #1078
Center content of destinations page #1078
Conversation
5ba4172
to
0508a61
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1078 +/- ##
=======================================
Coverage 79.83% 79.83%
=======================================
Files 145 145
Lines 5267 5267
=======================================
Hits 4205 4205
Misses 1062 1062 ☔ View full report in Codecov by Sentry. |
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.
Good start! 🙌
Although there are additional changes to be made in order to stabilize the width properties of the items in this flexbox. If destination collapse element is collapsed, it becomes very short. I would suggest to add following to the #form-list
-div and form
in _create_form.html
: class="max-w-4xl w-full"
. This way we ensure that each item doesn't extend a max width of 56rem (896px), yet it will always try to extend to 896px if possible (because of w-full
). This way we have a nice stable width which with a few extra tweaks (separate PR) would make destinations page responsive to different screen sizes.
I would also suggest to center contents of the create form and collapse-content, looks much prettier together with width changes suggested above.
0508a61
to
522105b
Compare
Did this, I centered the header for the collapse elements (SMS, EMAIL). Do you think that should be centered or should I move it back to the left? Gonna squash the commits when PR is done |
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 personally feel like it is nicer with the header for the collapse elements (SMS, EMAIL) on the left side, but I feel like that is more a question of personal taste, centered also looks good
I also prefer it with the collapse titles being on the left side |
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.
Nice!
942ad26
to
8ea9021
Compare
8ea9021
to
dc94ea6
Compare
Quality Gate passedIssues Measures |
Fixes #1079