From 3b7ec0cec71e6afd8d734f230f38022d22a034cb Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 19 Mar 2025 12:17:20 +0100 Subject: [PATCH] modification on schema figaption display to handle grid only when the container has enough space --- blocks/focused-schema/src/editor.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blocks/focused-schema/src/editor.scss b/blocks/focused-schema/src/editor.scss index c289ccd..1d7f4ef 100644 --- a/blocks/focused-schema/src/editor.scss +++ b/blocks/focused-schema/src/editor.scss @@ -10,7 +10,8 @@ display: block !important; } .block-editor-block-list__layout { - @media (min-width: 1200px) { + container-type: inline-size; + @container (min-width: 1200px) { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;