Grid: Add max
to 'Row span' and 'Column span' controls
#63967
Labels
[Feature] Layout
Layout block support, its UI controls, and style output.
[Status] In Progress
Tracking issues with work in progress
[Type] Task
Issues or PRs that have been broken down into an individual action to take
Feedback from @jameskoster:
We have a
max
on the<input>
for the Row and Column controls so I think a sensible fix here would be to similarly set amax
on the Row span and Column span controls.The
max
needs to take into account the position of the grid item. For example if a grid item is in the second last column then its max column span should be 2.It might be nice to have these controls automatically increase the parent grid's size one day but for now I think the important thing is that we're consistent across all of the grid controls. Right now the placement controls have a max but the span controls don't—weird!
The text was updated successfully, but these errors were encountered: