eea / volto-columns-block

A Volto block that provides columns of blocks
MIT License
9 stars 4 forks source link

On creation columns are evenly divided, regardless of selected proportions #57

Closed kenmanheimer closed 1 year ago

kenmanheimer commented 1 year ago

I always get 50 / 50 proportions when I create a two-column block, regardless of the choice I make. I then can use the Layout option in the Columns block sidebar dialog to assign the proportions I want, but it would be good to have the initial choice work. (The analogoous problem holds for the 25 / 50 / 25 three column choice.)

I'm using volto-columns-block 5.1.0 and Volto 16.3.0.

tiberiuichim commented 1 year ago

@FarooqAlaulddin no progress on this issue. If you're looking into it and solving it, we take PRs

FarooqAlaulddin commented 1 year ago

If you selected the 50/50 block then clicked on the main column block to edit its properties, you can see the property Layout. Change it to anything you want and it should work.

Example:

image image

This worked for me with 5.2.0

wesleybl commented 1 year ago

I think the issue here is that it doesn't respect what is selected on the "Select layout" screen:

layout

Then you can change the field "Layout" that will work. But it should already work the first time.

tiberiuichim commented 1 year ago

Fixed by Wesley's PR https://github.com/eea/volto-columns-block/pull/63