Skip to content

Commit 951a175

Browse files
authored
Merge pull request #269 from modern-agile-team/feat/report-1/#246
fix(#246): 긴급 수정
2 parents 5f0294f + 11beb0f commit 951a175

File tree

2 files changed

+31
-21
lines changed

2 files changed

+31
-21
lines changed

src/components/common/globalStyled/styled.ts

+1
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ export const Tooltip = styled.div`
203203
width: 5vw;
204204
text-decoration: none;
205205
color: #fff;
206+
z-index: 9999;
206207
&::after {
207208
content: '';
208209
position: absolute;

src/components/molecules/chat-space-elements/chat-space-header/ChatSpaceHeader.tsx

+30-21
Original file line numberDiff line numberDiff line change
@@ -103,27 +103,36 @@ const ChatSpaceHeader = (props: {
103103
<span>{chatPartners?.name || ''}</span>
104104
</S.ChatSpaceHeaderLeft>
105105
<S.ChatSpaceHeaderRight>
106-
<Image
107-
src="https://menbosha-s3.s3.ap-northeast-2.amazonaws.com/public/chat/ChatToolTip.svg"
108-
alt="Info"
109-
width="28"
110-
height="28"
111-
onClick={handleInfoModal}
112-
/>
113-
<Image
114-
src="https://menbosha-s3.s3.ap-northeast-2.amazonaws.com/public/chat/ChatReport.svg"
115-
alt="Report"
116-
width="28"
117-
height="28"
118-
onClick={handleReportModal}
119-
/>
120-
<Image
121-
onClick={handleModal}
122-
src="https://menbosha-s3.s3.ap-northeast-2.amazonaws.com/public/chat/review.svg"
123-
alt="Review"
124-
width="28"
125-
height="28"
126-
/>
106+
<ToolTipContainer hoverBox="image">
107+
<TooltipImage
108+
src="https://menbosha-s3.s3.ap-northeast-2.amazonaws.com/public/chat/ChatToolTip.svg"
109+
alt="Info"
110+
width="28"
111+
height="28"
112+
onClick={handleInfoModal}
113+
/>
114+
<Tooltip>도움말</Tooltip>
115+
</ToolTipContainer>
116+
<ToolTipContainer hoverBox="image">
117+
<TooltipImage
118+
src="https://menbosha-s3.s3.ap-northeast-2.amazonaws.com/public/chat/ChatReport.svg"
119+
alt="Report"
120+
width="28"
121+
height="28"
122+
onClick={handleReportModal}
123+
/>
124+
<Tooltip>신고</Tooltip>
125+
</ToolTipContainer>
126+
<ToolTipContainer hoverBox="image">
127+
<TooltipImage
128+
src="https://menbosha-s3.s3.ap-northeast-2.amazonaws.com/public/chat/review.svg"
129+
alt="Review"
130+
width="28"
131+
height="28"
132+
onClick={handleModal}
133+
/>
134+
<Tooltip>리뷰</Tooltip>
135+
</ToolTipContainer>
127136
{isOpenInfo && (
128137
<ChatInfoModal show={isOpenInfo} hide={handleInfoModal} />
129138
)}

0 commit comments

Comments
 (0)