Skip to content

Commit 8801834

Browse files
authored
Merge pull request #115 from COW-dev/feat/#112
[FIX] 레이아웃 겹침 문제 수정
2 parents 5b59691 + dd7a265 commit 8801834

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/shared/ui/Drawer/Drawer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function Drawer({ isOpen, onClose, children }: Props) {
3333
<motion.div
3434
key="drawer-backdrop"
3535
onClick={onClose}
36-
className="fixed inset-0 bg-black/50"
36+
className="fixed inset-0 z-50 bg-black/50"
3737
initial={FADE_IN_ANIMATION.initial}
3838
animate={FADE_IN_ANIMATION.animate}
3939
exit={FADE_IN_ANIMATION.exit}

src/shared/ui/Header/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function Header({ children, className }: Props) {
1313
return (
1414
<header
1515
className={cn(
16-
'fixed top-0 left-0 z-10 w-full border-b border-gray-200 bg-white px-6 md:z-20',
16+
'fixed top-0 left-0 z-10 w-full border-b border-gray-200 bg-white px-6',
1717
className
1818
)}
1919
>

src/shared/ui/Modal/Modal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function Modal({ isOpen, closeModal, children, className }: Props) {
4646
animate={MODAL_MOTION.animate}
4747
exit={MODAL_MOTION.exit}
4848
transition={MODAL_MOTION.transition}
49-
className={cn('fixed inset-0 z-30 flex w-full items-center justify-center', className)}
49+
className={cn('fixed inset-0 z-50 flex w-full items-center justify-center', className)}
5050
>
5151
<div className="absolute inset-0 bg-black/50" onClick={handleOutsideClick} />
5252
<ModalContent>{children}</ModalContent>
@@ -62,7 +62,7 @@ export function ModalContent({ children }: { children: React.ReactNode }) {
6262
aria-modal="true"
6363
justifyContent="center"
6464
alignItems="center"
65-
className="relative z-40 rounded-lg bg-white p-6"
65+
className="relative z-50 rounded-lg bg-white p-6"
6666
>
6767
{children}
6868
</Flex>

0 commit comments

Comments
 (0)