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 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%;