Skip to content

Media & Text: Add minimum height setting #31811

Closed

Description

@alaczek

Would it be possible to add a minimum height setting to Media & Text block (same as in Cover block)? This would be useful for creating single-page business-card type websites like this one:

image

While it is possible to do this now by nesting the Cover block inside Media & Text, it unnecessarily complicates the code.

Related to #28506

Activity

  1. kjellr commented on May 14, 2021

    @kjellr
    Contributor

    I'd like to +1 this issue — having this control available here would make a lot of pattern designs much simpler to build.

  2. devfle commented on May 18, 2021

    @devfle
    Contributor

    Hi, I think the idea is great and I will try to implement it. :)

  3. devfle commented on May 26, 2021

    @devfle
    Contributor

    Short update: I'm almost done. I still need to do the migration (deprecated.js). Then I'll put the PR. I think I will be done with it in the next days.

  4. youknowriad commented on Oct 5, 2026

    @youknowriad
    Contributor

    Media & Text now supports minimum height (and minimum width) via WordPress/gutenberg#83906, so you can give the block a consistent height without nesting a Cover block. Closing as done. Thanks for the suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions