-
Notifications
You must be signed in to change notification settings - Fork 219
Adjust Follow us on social media
pattern icon alignment
#10709
Conversation
The release ZIP for this PR is accessible via:
Script Dependencies ReportThere is no changed script dependency between this branch and trunk. This comment was automatically generated by the TypeScript Errors Report
🎉 🎉 This PR does not introduce new TS errors. |
Size Change: 0 B Total Size: 1.43 MB ℹ️ View Unchanged
|
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.
The pattern displays correctly both in the editor and frontend ✅
The tiniest of things:
The testing steps still are referring to Follow us in social media
instead of Follow us on social media
.
@danieldudzic nice catch, thanks. Updated! |
Set new col width to `75%` / `25%` and set the icon flex-alignment to `space-between`. While this is not ideal, without any fine-grained control over breakpoints, this seems to be marginally better than having the icons remain right-aligned on mobile.
Should be "on" not "in".
e14f4a3
to
4017b32
Compare
Follow us on social media
pattern icon alignment
LGTM! I'm bumping the milestone since we are awaiting a design review. |
Hmmm, not ideal, but slightly better. Feel free to ship. Is there specific feedback we can provide to Gutenberg around this? I guess its the usual "we need viewport or responsive options..." |
@shaunandrews agreed, not ideal. But, with the limitations we have around media queries in this context, I couldn't really come up with anything better.
Exactly. Thanks for the review, I'll ship it for now. Hopefully we can revisit in the future with better control options! |
What
This adjusts the alignment of the social media icons for the Follow us in social media pattern, improving the layout on mobile.
Additionally, the name and heading in the pattern is adjusted from Follow us in social media to Follow us on social media (subtle grammar update).
Note that, due to the limitations we have with mobile and media queries in patterns, this is not the ideal fix. However, it seems to be an improvement from the current layout.
Fixes #10667
Why
This is being done as a follow-up from design feedback in pdnLyh-3Tv-p2#comment-2860. As noted in #10667, the right alignment of the icon list on mobile looks broken.
Testing Instructions
Please consider any edge cases this change may have, and also other areas of the product this may impact.
Screenshots
Screencast
CleanShot.2023-08-22.at.21.45.54.mp4
WooCommerce Visibility
Required:
Checklist
Required:
[type]
label or a[skip-changelog]
label.Conditional:
[skip-changelog]
label is not present).Changelog