Skip to content

Commit

Permalink
[Fix] 쌓임맥락 고려하여 Tooltip 재배치 (#314)
Browse files Browse the repository at this point in the history
* fix: zIndex 수정

* chore: 빌드 에러 해결
  • Loading branch information
namdaeun authored Nov 6, 2024
1 parent a7e9a30 commit 23ed69f
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 10 deletions.
3 changes: 0 additions & 3 deletions src/common/component/Carousel/Carousel.style.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { css } from '@emotion/react';

import { CarouselProps } from '@/common/component/Carousel/Carousel';
import { theme } from '@/common/style/theme/theme';

export const itemStyle = (height: string) =>
css({
Expand Down Expand Up @@ -68,8 +67,6 @@ export const arrowStyle = (position: 'left' | 'right') =>
width: '3.2rem',
height: '3.2rem',

zIndex: theme.zIndex.overlayBottom,

border: 'none',
borderRadius: '16px',

Expand Down
2 changes: 0 additions & 2 deletions src/common/component/ToolTip/ToolTip.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ export const messageStyle = (isVisible: boolean) =>
padding: '1rem',
borderRadius: '8px',

zIndex: theme.zIndex.overlayTop,

backgroundColor: `${theme.colors.gray_900}`,
font: `${theme.text.body08}`,
color: `${theme.colors.white}`,
Expand Down
2 changes: 0 additions & 2 deletions src/shared/component/ContentBox/ContentBox.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ export const headerStyle = css({

height: '7.2rem',

zIndex: theme.zIndex.overlayBottom,

padding: '1.6rem 0rem',

borderBottom: `1px solid ${theme.colors.gray_200}`,
Expand Down
4 changes: 1 addition & 3 deletions src/shared/component/RouteNav/RouteNav.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const itemStyle = (isActive: boolean) =>

whiteSpace: 'nowrap',

zIndex: 2,
zIndex: 1,
});

export const indicatorStyle = css({
Expand All @@ -58,6 +58,4 @@ export const indicatorStyle = css({
backgroundColor: theme.colors.white,

borderRadius: '4px',

zIndex: 1,
});
2 changes: 2 additions & 0 deletions src/shared/component/SideNavBar/SideNavBar.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ export const containerStyle = css({
height: '100vh',

borderRight: `1px solid ${theme.colors.gray_300}`,

zIndex: theme.zIndex.overlayMiddle,
});

export const tikiLogoStyle = css({
Expand Down

0 comments on commit 23ed69f

Please sign in to comment.