From 76aa4bb2e9c8b5734e118823913963ef11c0a517 Mon Sep 17 00:00:00 2001 From: Nik Tsekouras Date: Fri, 16 Dec 2022 15:45:15 +0200 Subject: [PATCH] [Pattern Setup]: Fix full heights during transition. (#46615) --- .../src/components/block-pattern-setup/style.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 15edb5cd75f3f..79f5868176608 100644 --- a/packages/block-editor/src/components/block-pattern-setup/style.scss +++ b/packages/block-editor/src/components/block-pattern-setup/style.scss @@ -6,7 +6,6 @@ width: 100%; border-radius: $radius-block-ui; - // TODO change to check parent. &.view-mode-grid { .block-editor-block-pattern-setup__toolbar { justify-content: center; @@ -84,6 +83,7 @@ display: flex; flex-direction: column; width: 100%; + height: 100%; box-sizing: border-box; .carousel-container { @@ -91,6 +91,7 @@ position: relative; padding: 0; margin: 0; + height: 100%; list-style: none; transform-style: preserve-3d; * { @@ -100,6 +101,8 @@ position: absolute; top: 0; width: 100%; + height: 100%; + background-color: $white; margin: auto; padding: 0; transition: transform 0.5s, z-index 0.5s;