-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Improve element stacking in modals on tablet and mobile #35733
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
Conversation
Test Results SummaryCommit SHA: 6cf5521
To view the full API test report, click here. To view the full E2E test report, click here. To view all test reports, visit the WooCommerce Test Reports Dashboard. |
louwie17
left a comment
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.
Tested well, and code looks good! I did leave one minor suggestion, but not quite necessary in my opinion.
| }; | ||
|
|
||
| const attributeLabel = __( 'Attribute', 'woocommerce' ); | ||
| const valueLabel = __( 'Values', 'woocommerce' ); |
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 catch!
| @include breakpoint('<782px') { | ||
| position: relative; | ||
| grid-template-columns: 1fr; | ||
| padding-right: 42px; |
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.
Would it be worth adding a comment here, mentioning this padding is for the trash-column to display correctly?
c5aa08d to
c625d1e
Compare
| word-wrap: normal !important; | ||
| } | ||
|
|
||
| @mixin sr-only { |
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.
Is sr = screen reader a known abbreviation? I didn't know, I only figured it out because of the comment on line 170.
If possible I suggest renaming the mixins to screen-reader-only and not-screen-reader-only
2b8cfea to
6cf5521
Compare
All Submissions:
Changes proposed in this Pull Request:
Closes #35565
How to test the changes in this Pull Request:
Products -> Add New (MVP)pageAdd first attributebuttonAdd attributemodal should be shownOther information:
pnpm --filter=<project> changelog add?FOR PR REVIEWER ONLY: