generateblocks icon indicating copy to clipboard operation
generateblocks copied to clipboard

Add CSS Grid options

Open tomusborne opened this issue 1 year ago • 5 comments

Our blocks would benefit from a CSS Grid system.

tomusborne avatar Apr 05 '23 14:04 tomusborne

👀

Calvin-Susan avatar Apr 05 '23 17:04 Calvin-Susan

@tomusborne This sounds great, I guess you might have plans to add the extra options to the default container type, but back when you originally announced flex controls for containers I wondered what would become of the existing grid block and thought this might be a good transition for it. As we can now achieve what the grid block did with just containers and flex it makes sense (to me at least!) that the grid block could be transitioned to be powered by CSS grid and then have a slightly different offering and purpose to the root container with its flex options.

eastriverstudio avatar May 22 '23 15:05 eastriverstudio

@tomusborne , any visions for this in the future? Currently I'm creating a global style for every one-off container that I need to set up a special grid for, because Display > Grid is only available in global styles but not the block options.

pagibson avatar Aug 10 '24 02:08 pagibson

@pagibson Yes, everything in our Global Styles is coming to our new local blocks in 2.0: https://github.com/tomusborne/generateblocks/pull/1268

tomusborne avatar Aug 10 '24 02:08 tomusborne

Whoaaaaa so exciting! Thanks for such a pleasant, trim WP theme and plugin (:

pagibson avatar Aug 11 '24 00:08 pagibson