From c48a9c80fbd21f3b6f4361809628c86f229c5b44 Mon Sep 17 00:00:00 2001 From: Jorge Costa Date: Tue, 24 Sep 2019 18:28:14 +0100 Subject: [PATCH] Fix: Twenty Seventeen theme has issues with preview panel (#17531) --- packages/block-editor/src/components/block-styles/style.scss | 1 + packages/block-editor/src/components/inserter/style.scss | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/packages/block-editor/src/components/block-styles/style.scss b/packages/block-editor/src/components/block-styles/style.scss index e5eb662d93b1f..398ee20cac35f 100644 --- a/packages/block-editor/src/components/block-styles/style.scss +++ b/packages/block-editor/src/components/block-styles/style.scss @@ -45,6 +45,7 @@ .block-editor-block-preview__container { padding-top: 0; + margin: 0; margin-top: -75%; } } diff --git a/packages/block-editor/src/components/inserter/style.scss b/packages/block-editor/src/components/inserter/style.scss index b8834e5233ac1..d7522de08d013 100644 --- a/packages/block-editor/src/components/inserter/style.scss +++ b/packages/block-editor/src/components/inserter/style.scss @@ -217,4 +217,9 @@ $block-inserter-search-height: 38px; padding: 10px; display: grid; flex-grow: 2; + + .block-editor-block-preview__container { + margin-right: 0; + margin-left: 0; + } }