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

This commit is contained in:
bordun 2020-04-24 14:29:02 +02:00
parent 03801c0789
commit e83b7ce99d

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' : ''
}