From af2097e3eb0441e2b950b04f012e0fd02e7d49c9 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 24 Jun 2021 12:13:55 +0100 Subject: [PATCH] Hide overflow when showing empty component placeholders --- packages/client/src/utils/styleable.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/client/src/utils/styleable.js b/packages/client/src/utils/styleable.js index 27589b2bba..3f02b36600 100644 --- a/packages/client/src/utils/styleable.js +++ b/packages/client/src/utils/styleable.js @@ -31,6 +31,7 @@ export const styleable = (node, styles = {}) => { if (newStyles.empty) { baseStyles.border = "2px dashed var(--grey-5)" baseStyles.padding = "var(--spacing-l)" + baseStyles.overflow = "hidden" } const componentId = newStyles.id