Hide overflow when showing empty component placeholders

This commit is contained in:
Andrew Kingston 2021-06-24 12:13:55 +01:00
parent fb18635bf9
commit 26136f5114
1 changed files with 1 additions and 0 deletions

View File

@ -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