modal: firefox compact (ff doesn't support contain: style)

This commit is contained in:
bordun 2020-04-24 14:29:02 +02:00
parent 2cde21b1db
commit 2ba3eecc0f

View file

@ -180,12 +180,12 @@ class Modal extends Panel {
// stacking
parent.container.style.zIndex = this.value ? 'initial' : ''
parent.container.style.contain = this.value ? 'style size' : ''
parent.container.style.contain = this.value ? 'size' : ''
parent = parent.parent
}
this.container.style.contain = this.value ? 'style size' : ''
this.container.style.contain = this.value ? 'size' : ''
}