Skip to content

Block Library: Improve the design of MediaControlPreview and MediaControl #75412

Closed

Description

@t-hamano

What problem does this address?

We improved the background panel UI in #75230.

Image Image

Following this improved UI, let's also improve the MediaControlPreview and MediaControl components.

What is your proposed solution?

These two components are internal components for the block library and are used in two places.

Image block

DataForm-driven content field:

Image Image

Site Logo block

Image Image

How would we improve the UI?

  • Displays a square placeholder instead of a media thumbnail when no media is attached.
  • The media thumbnail and empty placeholder should have borders and rounded corners applied.

Additionally, it would be nice to show a reset button when the button is hovered or focused.

Image

Activity

  1. hbhalodia commented on Mar 12, 2026

    @hbhalodia
    Contributor

    Hi @t-hamano, I have created a PR with the style update here -- #74386, Could you please review the same?

    So we can unblock on this PR as well - #74386

    Thanks,

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions