Incorrect BaseControl margin #17984
Labels
CSS Styling
Related to editor and front end styles, CSS-specific issues.
[Feature] Inspector Controls
The interface showing block settings and the controls available for each block
[Feature] UI Components
Impacts or related to the UI component system
Describe the bug
Currently there is CSS applying a
margin-bottom
to everyBaseControl
which follows anotherBaseControl
(so effectively the margin is for everything but the first element).https://github.com/WordPress/gutenberg/blob/master/packages/components/src/base-control/style.scss#L24-L26
This causes inconsistent margins between
BaseControl
s; I believe this is intended to be amargin-top
instead.This was observed in WordPress 5.3 RC1, and the problematic CSS is currently in
master
.Screenshots
Before:
After:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: