From 7cfd5a865f7234f1c776ea13caf411ab5b1e178e Mon Sep 17 00:00:00 2001 From: Hiroshi Urabe Date: Fri, 23 Feb 2024 16:55:42 +0900 Subject: [PATCH] show .components-placeholder__fieldset only is-selected. --- packages/components/src/placeholder/style.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/components/src/placeholder/style.scss b/packages/components/src/placeholder/style.scss index 8c6ca72112300..b135b8183fe8f 100644 --- a/packages/components/src/placeholder/style.scss +++ b/packages/components/src/placeholder/style.scss @@ -183,6 +183,9 @@ } .components-placeholder__fieldset { + // Show only is selected. + display: none; + width: auto; // Unset intrinsic margins. @@ -208,6 +211,10 @@ opacity: 1; pointer-events: auto; } + + .components-placeholder__fieldset { + display: flex; + } } // By painting the borders here, we enable them to be replaced by the Border control.