Fix: Hide modals properly with display:none !important
This commit is contained in:
parent
0ae90b8b85
commit
79170ffa21
|
|
@ -1579,7 +1579,7 @@ body {
|
||||||
Service Info Modals
|
Service Info Modals
|
||||||
======================================== */
|
======================================== */
|
||||||
.service-modal {
|
.service-modal {
|
||||||
display: none;
|
display: none !important;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
|
|
@ -1590,11 +1590,13 @@ body {
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 0.3s ease;
|
transition: opacity 0.3s ease;
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.service-modal.active {
|
.service-modal.active {
|
||||||
display: flex;
|
display: flex !important;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
pointer-events: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-content {
|
.modal-content {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue