diff --git a/editor/meta-boxes/style.scss b/editor/meta-boxes/style.scss index 7302e9dd10e13..19397ffc76a1f 100644 --- a/editor/meta-boxes/style.scss +++ b/editor/meta-boxes/style.scss @@ -25,6 +25,12 @@ .components-panel__body.is-opened .components-panel__body-toggle { border-bottom: 1px solid $light-gray-500; } + + // don't show unless sidebar is also opened + display: none; + .is-sidebar-opened & { + display: block; + } } .editor-meta-boxes__iframe { diff --git a/editor/modes/visual-editor/style.scss b/editor/modes/visual-editor/style.scss index 0bfd87f8af948..c03b47989224b 100644 --- a/editor/modes/visual-editor/style.scss +++ b/editor/modes/visual-editor/style.scss @@ -342,6 +342,7 @@ line-height: $editor-line-height; cursor: text; left: -1px; + max-width: none; // fixes a bleed issue from the admin &:hover { outline: 1px solid $light-gray-500;