I have integrated bootbox to display a dialogue box:
bootbox.confirm({
message: "Do you confirm the submission of the CRA request?",
backdrop: false,
className: "on-top-bootbox-alert-2",
buttons: {
confirm: {
label: 'Yes',
className: 'btn-success'
},
cancel: {
label: 'No',
className: 'btn-danger'
}
},
In my main.css:
.on-top-bootbox-alert-2 {
z-index: 9999 !important;
}
However, when I deploy the application (using both dev and prod profiles), the bootbox does not appear because the z-index of on-top-bootbox-alert-2 is set to 7.
https://i.sstatic.net/AJsQX.png
Upon checking main.css, I find that the value is indeed 9999.
https://i.sstatic.net/DVSvy.png
This issue doesn't occur when running the application from IntelliJ. Could there be an issue with the build process? I have been building this app for 2 years now, and this is the first time encountering such a problem.