-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Changed the columns per row from 2 two 3 #14356
Conversation
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
Hey @antonis 👋 I took a look at the iOS test build and there is something wonky going on where the columns don't always line up properly if you start a new post/page in any breakpoint larger than the narrow single-column view (not sure what our exact breakpoint values are). To reproduce this, create a new post or page in wider viewport (landscape iPhone or iPad) and note that you see 2 columns in a row, and the third column pushed to the next row. Here is what I'm initially seeing when opening first on a wider viewport:
However, if you rotate iPhone to portrait or adjust the iPad split-view to narrow and then back, the columns will have adjusted to the expected size. In other words:
|
Hello @iamthomasbishop 👋. Thank you for the quick feedback on this 😊. |
Ah okay, good to know! |
Hello @iamthomasbishop 👋 I'm attaching some screenshots depicting how the columns block renders in large breakpoint. Let me know if this is the expected way.
Regarding D and in general when we have two columns after the first row an alternative would be the one bellow.
We can probably also split the space evenly between the columns but extra implementation is needed for this. Wdyt? |
@antonis This is closely related to the other work we're doing (with @lukewalczak) on Columns, so perfect timing! I think all of the layouts you showed in your screenshots look correct up to |
Gutenberg PR merged WordPress/gutenberg#23314 |
Fixes wordpress-mobile/gutenberg-mobile#2384
Related PRs:
gutenberg WordPress/gutenberg#23314
gutenberg-mobile wordpress-mobile/gutenberg-mobile#2408
Description
This fix changes the number of blocks per line from two to three.
When more than two block rows are rendered we need to change the justify content of the parent block-list component to align the blocks at the beginning of the row.
How has this been tested?
Two columns
Three columns
Four columns
Generic Test Case
Screenshots
PR submission checklist:
RELEASE-NOTES.txt
if necessary.