From d54d373f0aa1bf49c812eaabe88e74ec8c61c00b Mon Sep 17 00:00:00 2001 From: jasmussen Date: Wed, 21 Apr 2021 12:38:27 +0200 Subject: [PATCH] Polish. --- .../src/components/block-pattern-setup/style.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/block-editor/src/components/block-pattern-setup/style.scss b/packages/block-editor/src/components/block-pattern-setup/style.scss index a9cc10bf7a91f..c3e2cb82d66a5 100644 --- a/packages/block-editor/src/components/block-pattern-setup/style.scss +++ b/packages/block-editor/src/components/block-pattern-setup/style.scss @@ -13,6 +13,7 @@ .block-editor-block-pattern-setup__toolbar { justify-content: center; } + .block-editor-block-pattern-setup__container { display: grid; grid-template-columns: 1fr 1fr; @@ -20,18 +21,27 @@ padding: $grid-unit-20; max-height: 550px; overflow: auto; + margin: 0 $border-width $border-width $border-width; + width: calc(100% - #{ $border-width * 2 }); + background: $white; .block-editor-block-preview__container, div[role="button"] { cursor: pointer; } + .block-editor-block-pattern-setup-list__item-title { padding: $grid-unit-05; font-size: $helptext-font-size; text-align: center; } + + .block-editor-block-preview__container { + border-radius: $radius-block-ui; + } } } + .block-editor-block-pattern-setup__toolbar { box-sizing: border-box; position: relative;