Merge pull request #2393 from VIRAT9358/fix496

fixed position issue
This commit is contained in:
Ian Gilman 2023-08-22 10:16:17 -07:00 committed by GitHub
commit 8d2f8449ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,9 @@
if( this.element ){
this.element = $.getElement( this.element );
this.element.appendChild( this.container );
if( $.getElementStyle(this.element).position === 'static' ){
this.element.style.position = 'relative';
}
this.container.style.width = '100%';
this.container.style.height = '100%';
}