From ea1dd93d421d74d2d8be93c4bb3164eb1d30cc1a Mon Sep 17 00:00:00 2001 From: ilya Date: Tue, 1 Jul 2025 00:46:02 +0800 Subject: [PATCH] fix: Issue 374 notice-wrapper::after Style in stack-expanded --- assets/index.less | 2 +- docs/examples/stack.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 (