WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.46k stars 4.18k forks source link

Columns block: Set width #56206

Open scruffian opened 11 months ago

scruffian commented 11 months ago

What problem does this address?

While it is possible to set the width of an individual column, there's no control for the Columns block itself. This could be useful when trying to create more complex layouts.

What is your proposed solution?

It should be possible to control the width of the Columns block.

richtabor commented 11 months ago

Outside of wide and full, I think it would be inconsistent to have additional width options on just the columns block. If layout is unblocked, min/max widths could be interesting to expose as dimensions on all relative blocks: https://github.com/WordPress/gutenberg/issues/42385

richtabor commented 11 months ago

I do however think it’d be nice if the columns block had column width range controls for each column in its inner blocks, so that you could manipulate the widths of the columns within the columns block, all at once - instead of having to click around to find them individually and remember what % you set each to.

Separate issue?