Skip to content

Commit

Permalink
Merge pull request #269 from modern-agile-team/feat/report-1/#246
Browse files Browse the repository at this point in the history
fix(#246): 긴급 수정
  • Loading branch information
CBWDG authored Apr 4, 2024
2 parents 5f0294f + 11beb0f commit 951a175
Showing 2 changed files with 31 additions and 21 deletions.
1 change: 1 addition & 0 deletions src/components/common/globalStyled/styled.ts
Original file line number Diff line number Diff line change
@@ -203,6 +203,7 @@ export const Tooltip = styled.div`
width: 5vw;
text-decoration: none;
color: #fff;
z-index: 9999;
&::after {
content: '';
position: absolute;
Original file line number Diff line number Diff line change
@@ -103,27 +103,36 @@ const ChatSpaceHeader = (props: {
<span>{chatPartners?.name || ''}</span>
</S.ChatSpaceHeaderLeft>
<S.ChatSpaceHeaderRight>
<Image
src="https://menbosha-s3.s3.ap-northeast-2.amazonaws.com/public/chat/ChatToolTip.svg"
alt="Info"
width="28"
height="28"
onClick={handleInfoModal}
/>
<Image
src="https://menbosha-s3.s3.ap-northeast-2.amazonaws.com/public/chat/ChatReport.svg"
alt="Report"
width="28"
height="28"
onClick={handleReportModal}
/>
<Image
onClick={handleModal}
src="https://menbosha-s3.s3.ap-northeast-2.amazonaws.com/public/chat/review.svg"
alt="Review"
width="28"
height="28"
/>
<ToolTipContainer hoverBox="image">
<TooltipImage
src="https://menbosha-s3.s3.ap-northeast-2.amazonaws.com/public/chat/ChatToolTip.svg"
alt="Info"
width="28"
height="28"
onClick={handleInfoModal}
/>
<Tooltip>도움말</Tooltip>
</ToolTipContainer>
<ToolTipContainer hoverBox="image">
<TooltipImage
src="https://menbosha-s3.s3.ap-northeast-2.amazonaws.com/public/chat/ChatReport.svg"
alt="Report"
width="28"
height="28"
onClick={handleReportModal}
/>
<Tooltip>신고</Tooltip>
</ToolTipContainer>
<ToolTipContainer hoverBox="image">
<TooltipImage
src="https://menbosha-s3.s3.ap-northeast-2.amazonaws.com/public/chat/review.svg"
alt="Review"
width="28"
height="28"
onClick={handleModal}
/>
<Tooltip>리뷰</Tooltip>
</ToolTipContainer>
{isOpenInfo && (
<ChatInfoModal show={isOpenInfo} hide={handleInfoModal} />
)}

0 comments on commit 951a175

Please sign in to comment.