Unstyled BlockUI update

pull/4239/head
Tuğçe Küçükoğlu 2023-08-03 10:54:11 +03:00
parent 445776316e
commit fe0cc70737
2 changed files with 7 additions and 8 deletions

View File

@ -7,14 +7,6 @@ const styles = `
position: relative;
}
.p-blockui {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.p-blockui.p-component-overlay {
position: absolute;
}

View File

@ -43,6 +43,13 @@ export default {
} else {
this.mask = document.createElement('div');
!this.isUnstyled && this.mask.setAttribute('class', styleClass);
DomHandler.addStyles(this.mask, {
position: 'absolute',
top: '0',
left: '0',
width: '100%',
height: '100%'
});
this.$refs.container.appendChild(this.mask);
}