fix: notification wrapper blocks user from interacting with the main area

This commit is contained in:
Peng Xiao
2021-11-01 21:37:56 +08:00
committed by Tienson Qin
parent f3b4de5c93
commit 30e4233daf
2 changed files with 2 additions and 2 deletions

View File

@@ -169,8 +169,7 @@
{:style {:z-index (if (or (= state "exiting")
(= state "exited"))
-1
99)
:top "3.2em"}}
99)}}
[:div.max-w-sm.w-full.shadow-lg.rounded-lg.pointer-events-auto.notification-area
{:class (case state
"entering" "transition ease-out duration-300 transform opacity-0 translate-y-2 sm:translate-x-0"

View File

@@ -48,6 +48,7 @@
z-index: 99;
width: 100%;
top: 3.2em;
pointer-events: none;
&-content {
@apply inset-0 flex items-end justify-center px-4 py-3