Hide overflow when showing empty component placeholders
This commit is contained in:
parent
14fa37deac
commit
af2097e3eb
|
@ -31,6 +31,7 @@ export const styleable = (node, styles = {}) => {
|
||||||
if (newStyles.empty) {
|
if (newStyles.empty) {
|
||||||
baseStyles.border = "2px dashed var(--grey-5)"
|
baseStyles.border = "2px dashed var(--grey-5)"
|
||||||
baseStyles.padding = "var(--spacing-l)"
|
baseStyles.padding = "var(--spacing-l)"
|
||||||
|
baseStyles.overflow = "hidden"
|
||||||
}
|
}
|
||||||
|
|
||||||
const componentId = newStyles.id
|
const componentId = newStyles.id
|
||||||
|
|
Loading…
Reference in New Issue