Site logo

[Resolved] Two grid containers side by side, one of them auto wide

Home Forums Support [Resolved] Two grid containers side by side, one of them auto wide

Home Forums Support Two grid containers side by side, one of them auto wide

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2553040
    René

    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 !

    #2553149
    David
    Staff
    Customer Support

    Hi there,

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

    #2553230
    René

    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

    #2553310
    David
    Staff
    Customer Support

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

    #2553827
    René

    That worked, thanks! 🙂

    #2553988
    David
    Staff
    Customer Support

    Glad to hear that

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.