Hide overflow when showing empty component placeholders

This commit is contained in:
Andrew Kingston 2021-06-24 12:13:55 +01:00
parent 14fa37deac
commit af2097e3eb
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