From 5c2b3b918a3f2a4954a46534023b965b9ebfa3b9 Mon Sep 17 00:00:00 2001 From: nijuy Date: Thu, 16 May 2024 22:09:24 +0900 Subject: [PATCH 1/2] =?UTF-8?q?refactor:=20`StyledToastWrapper`=EC=97=90?= =?UTF-8?q?=20z-index=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Toast/Toast.style.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Toast/Toast.style.ts b/src/components/Toast/Toast.style.ts index 2c3a926..fa5a6a7 100644 --- a/src/components/Toast/Toast.style.ts +++ b/src/components/Toast/Toast.style.ts @@ -42,6 +42,7 @@ const setToastAnimation = ($duration: ToastDuration) => { export const StyledToastWrapper = styled.div` position: fixed; + z-index: 9999; inset: 0px; width: 100%; height: 100%; From e4a4c22b45a2d2e93796f4f27d29cfb142aae5a7 Mon Sep 17 00:00:00 2001 From: nijuy Date: Thu, 16 May 2024 22:09:43 +0900 Subject: [PATCH 2/2] =?UTF-8?q?docs:=20`Toast`=20=EB=AC=B8=EC=84=9C=20?= =?UTF-8?q?=EC=A3=BC=EC=9D=98=EC=82=AC=ED=95=AD=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Toast/Toast.stories.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Toast/Toast.stories.tsx b/src/components/Toast/Toast.stories.tsx index 3824a7e..7ec4f98 100644 --- a/src/components/Toast/Toast.stories.tsx +++ b/src/components/Toast/Toast.stories.tsx @@ -20,6 +20,7 @@ const meta: Meta = {

주의사항

  1. width props 값이 fit-content보다 작을 경우 적용되지 않습니다.
  2. +
  3. Toast의 z-index 값은 9999입니다.

useToast