From 8054d55fe019ca58d8c02388d97310f3cc60abb3 Mon Sep 17 00:00:00 2001 From: Janvo Aldred Date: Mon, 20 Jul 2020 21:46:07 -0500 Subject: [PATCH] Make the padding for the panel content the same for all sides --- packages/block-editor/src/components/inserter/style.scss | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/block-editor/src/components/inserter/style.scss b/packages/block-editor/src/components/inserter/style.scss index 74b579e329b090..de5b0460e28117 100644 --- a/packages/block-editor/src/components/inserter/style.scss +++ b/packages/block-editor/src/components/inserter/style.scss @@ -158,7 +158,7 @@ $block-inserter-tabs-height: 44px; } .block-editor-inserter__panel-content { - padding: 0 $grid-unit-20; + padding: $grid-unit-20; } .block-editor-inserter__panel-title { @@ -175,7 +175,7 @@ $block-inserter-tabs-height: 44px; } .block-editor-inserter__popover .block-editor-block-types-list { - margin: 0 -8px; + margin: -8px; } .block-editor-inserter__reusable-blocks-panel { @@ -281,12 +281,12 @@ $block-inserter-tabs-height: 44px; } .block-editor-inserter__quick-inserter .block-editor-inserter__panel-content { - padding: 0 $grid-unit-10; + padding: $grid-unit-10; } .block-editor-inserter__quick-inserter.has-search .block-editor-inserter__panel-content, .block-editor-inserter__quick-inserter.has-expand .block-editor-inserter__panel-content { - padding: 0 $grid-unit-20; + padding: $grid-unit-20; } .block-editor-inserter__quick-inserter-patterns { @@ -310,7 +310,6 @@ $block-inserter-tabs-height: 44px; width: 100%; height: ($button-size + $grid-unit-10); border-radius: 0; - margin-top: $grid-unit-20; &:hover { color: $white;