Site logo

Archived topic

Two grid containers side by side, one of them auto wide

5 replies · Started by René on March 2, 2023

Viewing posts 1–6 of 6

Hey, how do I get one of the two grid containers set to auto width in the new version of GenerateBlocks? In the old version I could just set "auto" as far as I remember. When I type "auto" in the Flex Base field, it doesn't work.

I want the photo to remain fixed at 85px wide and the text to automatically fill out the rest of the width.

GP Editor
GP Editor

Should look like this:
should look like this

Thank you for your amazing support !

Hi there,

you can set the Flex Child options:
Grow 1 Shrink 1 and leave basis empty and remove any widths.

it does not work. Both Childs are so set. If I put text in the first child instead of an image, that doesn't do anything either.

settings

Aah its text, in the second column set the flex basis to min-content

That worked, thanks! :)

Glad to hear that

This archived topic is closed to new replies.