-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Add alignment controls to grid layout #62895
Comments
Thanks for opening the issue! I think this has to be separted into two parts: aligning the contents of the grid with To go even further, I think it should also be discussed if a child element can be positioned separately with |
I don't think
This I think would be useful and worth looking into! It could be added to the child controls. |
@WordPress/gutenberg-design would you folks be able to help with design for these controls? We're looking at:
|
The missing piece in the matrix is the space-between properties, though perhaps we can still start with just the basic matrix without space-between, because space-between is both complex (therefore secondary and possibly a thing for the inspector), and could potentially be built into the block spacing control itself, to benefit both grid and flex based blocks. |
Flex layouts such as used in Row and Stack blocks come with justification and alignment options for their content:
It would be good if Grid had something similar. The implementation should be very much like flex, the main thing I guess is to determine whether they should be toolbar or sidebar controls (flex is a bit awkward right now in that it has a mix of both).
Cc @luminuu who asked about this in a hallway hangout. Feel free to add to the issue if I left anything out!
The text was updated successfully, but these errors were encountered: