Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Toast z-index 지정 #101

Merged
merged 2 commits into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/Toast/Toast.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const meta: Meta<typeof Toast> = {
<h2> 주의사항 </h2>
<ol>
<li>width props 값이 fit-content보다 작을 경우 적용되지 않습니다.</li>
<li>Toast의 z-index 값은 9999입니다.</li>
</ol>
<br />
<Title>useToast</Title>
Expand Down
1 change: 1 addition & 0 deletions src/components/Toast/Toast.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const setToastAnimation = ($duration: ToastDuration) => {

export const StyledToastWrapper = styled.div`
position: fixed;
z-index: 9999;
inset: 0px;
width: 100%;
height: 100%;
Expand Down
Loading