Skip to content
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
2 changes: 1 addition & 1 deletion src/shared/ui/Drawer/Drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function Drawer({ isOpen, onClose, children }: Props) {
<motion.div
key="drawer-backdrop"
onClick={onClose}
className="fixed inset-0 bg-black/50"
className="fixed inset-0 z-50 bg-black/50"
initial={FADE_IN_ANIMATION.initial}
animate={FADE_IN_ANIMATION.animate}
exit={FADE_IN_ANIMATION.exit}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/ui/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function Header({ children, className }: Props) {
return (
<header
className={cn(
'fixed top-0 left-0 z-10 w-full border-b border-gray-200 bg-white px-6 md:z-20',
'fixed top-0 left-0 z-10 w-full border-b border-gray-200 bg-white px-6',
className
)}
>
Expand Down
4 changes: 2 additions & 2 deletions src/shared/ui/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function Modal({ isOpen, closeModal, children, className }: Props) {
animate={MODAL_MOTION.animate}
exit={MODAL_MOTION.exit}
transition={MODAL_MOTION.transition}
className={cn('fixed inset-0 z-30 flex w-full items-center justify-center', className)}
className={cn('fixed inset-0 z-50 flex w-full items-center justify-center', className)}
>
<div className="absolute inset-0 bg-black/50" onClick={handleOutsideClick} />
<ModalContent>{children}</ModalContent>
Expand All @@ -62,7 +62,7 @@ export function ModalContent({ children }: { children: React.ReactNode }) {
aria-modal="true"
justifyContent="center"
alignItems="center"
className="relative z-40 rounded-lg bg-white p-6"
className="relative z-50 rounded-lg bg-white p-6"
>
{children}
</Flex>
Expand Down