Allow hidden toast messages to be clicked through

This commit is contained in:
Preston 2020-12-01 11:02:52 -05:00
parent 851e87d39e
commit b2363bb6dd
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
pointer-events: none;
} }
.toast { .toast {
@ -26,6 +27,7 @@
} }
.open { .open {
pointer-events: auto;
visibility: visible; visibility: visible;
opacity: 1; opacity: 1;
transition: visibility 0s linear 0s, opacity 300ms; transition: visibility 0s linear 0s, opacity 300ms;
@ -33,6 +35,7 @@
.closed { .closed {
visibility: hidden; visibility: hidden;
pointer-events: none;
opacity: 0; opacity: 0;
transition: visibility 0s linear 300ms, opacity 300ms; transition: visibility 0s linear 300ms, opacity 300ms;
} }