From 37681e78e94c818d3bda9a24bf192f8b4ae7bd18 Mon Sep 17 00:00:00 2001 From: Shaun Andrews Date: Mon, 10 Feb 2020 15:45:04 -0500 Subject: [PATCH] Adding padding above the list of options, and adjusting the space below to match. --- .../src/components/media-replace-flow/style.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/media-replace-flow/style.scss b/packages/block-editor/src/components/media-replace-flow/style.scss index d7ac2cc150aa5..f872d1a32b044 100644 --- a/packages/block-editor/src/components/media-replace-flow/style.scss +++ b/packages/block-editor/src/components/media-replace-flow/style.scss @@ -5,6 +5,12 @@ display: none; } +// Forcing some space above the list of options in +// the dropdown to visually balance them. +.block-editor-media-replace-flow__options .components-popover__content { + padding-top: 8px; +} + .block-editor-media-replace-flow__indicator { margin-left: 4px; @@ -17,7 +23,7 @@ padding: 12px 16px 8px 16px; max-width: 258px; border-top: 1px solid $light-gray-800; - margin-top: 5px; + margin-top: 8px; input { max-width: 180px;