Skip to content

Commit

Permalink
[BUG] 공홈 어드민 모달 z index 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
eonseok-jeon authored Dec 18, 2024
2 parents 4e20de4 + 0269bbd commit 52d02e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/common/DropDown/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { css } from '@emotion/react';
import styled from '@emotion/styled';
import { colors } from '@sopt-makers/colors';

import zIndex from '@/utils/zIndex';

import { Props } from './index';

export const DropdownWrapper = styled.div<Pick<Props, 'type'>>`
Expand All @@ -20,7 +22,7 @@ export const DropdownWrapper = styled.div<Pick<Props, 'type'>>`
background-color: ${colors.gray500};
z-index: 1;
z-index: ${zIndex.select};
animation: appearDropdown 0.6s;
& > div {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/zIndex.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const zIndex = {
nav: 10,
header: 10,
header: 30,
footer: 10,
helper: 11,
select: 99,
Expand Down

0 comments on commit 52d02e5

Please sign in to comment.