-
Notifications
You must be signed in to change notification settings - Fork 155
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: Improve wrapping behavior of actions in header #1386
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1386 +/- ##
=======================================
Coverage 93.98% 93.98%
=======================================
Files 642 642
Lines 17334 17334
Branches 5695 5695
=======================================
Hits 16291 16291
Misses 973 973
Partials 70 70
☔ View full report in Codecov by Sentry. |
12995c9
to
6706386
Compare
70bc4bb
to
515e8df
Compare
2f61287
to
2cbca12
Compare
ab35bf8
to
4785919
Compare
197a22b
to
f642687
Compare
f642687
to
e00f4bf
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.
Changes look good at first glance, I'll leave checking pixel changes and screenshot tests to you, have fun!
gap
on flex is not supported on Safari 14.0, but given that we're on the cusp of a new Safari release and this won't block anything, I'm okay with it, after a double-check with the dev team.
Description
The header component contains three main parts: a mandatory title, as well as optional description and actions. The actions are displayed in the top right corner of the header, but currently they wrap below the title and description very early. This takes up unnecessary vertical space, especially when the header contains a description text.
This change swaps the order of elements and reorganizes them so that the title and actions now build one block, followed by the description block.
More details:
2m0RALROKrfO
Related links, issue #, if available: AWSUI-19066
How has this been tested?
Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness
CONTRIBUTING.md
.CONTRIBUTING.md
.Security
checkSafeUrl
function.Testing
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.