diff --git a/assets/index.less b/assets/index.less index 2ac0cc8..eaa60f6 100644 --- a/assets/index.less +++ b/assets/index.less @@ -239,7 +239,7 @@ pointer-events: auto; } - &::after { + &::before { content: ""; position: absolute; left: 0; diff --git a/docs/examples/stack.tsx b/docs/examples/stack.tsx index 2467fe2..bd47720 100644 --- a/docs/examples/stack.tsx +++ b/docs/examples/stack.tsx @@ -15,7 +15,7 @@ const getConfig = () => ({ }); const Demo = () => { - const [{ open }, holder] = useNotification({ motion, stack: true }); + const [{ open }, holder] = useNotification({ motion, stack: true, closable: true }); return (