Video block settings: Poster image label needs spacing #35785
Labels
[Block] Video
Affects the Video Block
[Status] In Progress
Tracking issues with work in progress
[Type] Enhancement
A suggestion for improvement.
Description
In the Video block settings, the Poster image label has no bottom margin or padding. The margin was intentionally increased from 4px to 8px in #20754, but that has been missing since WordPress 5.6.
Should the label use
StyledLabel
instead ofBaseControl.VisualLabel
?gutenberg/packages/block-library/src/video/edit.js
Lines 201 to 203 in e192d50
(originally reported on Trac)
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Before selecting a poster image:
With the poster image:
(screenshots taken in my 5.9 trunk installation, without the plugin)
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: