Skip to content

Commit

Permalink
Merge pull request #564 from depromeet/develop
Browse files Browse the repository at this point in the history
배포용 PR
  • Loading branch information
wade3420 committed Feb 13, 2024
2 parents b1430fe + 634e539 commit 19302f7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion src/components/BottomSheet/BottomSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function BottomSheet({ children, isDraggable = false, onClickOutside, isShowing,
return (
<SpringBottomSheet
open={isShowing}
className={css(bottomSheetCss, isDraggable ? {} : nonDraggableCss)}
className={css(bottomSheetCss, isDraggable ? {} : nonDraggableCss, zIndexCss)}
onDismiss={onClickOutside}
>
<div className={headerWrapperCss}>{headerElement}</div>
Expand All @@ -40,6 +40,16 @@ const nonDraggableCss = {
display: 'none',
},
};

const zIndexCss = {
'& [data-rsbs-overlay]': {
zIndex: '100 !important',
},
'& [data-rsbs-backdrop]': {
zIndex: '100 !important',
},
};

const contentCss = css({
padding: '0 16px',
});
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header/HeaderBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const wrapperCss = flex({
left: 0,
right: 0,
top: 0,
zIndex: 3,
zIndex: 'appBar',
position: 'fixed',
display: 'flex',
alignItems: 'center',
Expand Down

0 comments on commit 19302f7

Please sign in to comment.