Skip to content

Commit

Permalink
fix(#246): 긴급 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
CBWDG committed Apr 4, 2024
1 parent b7d575d commit 11beb0f
Show file tree
Hide file tree
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
Expand Up @@ -275,6 +275,7 @@ export const Tooltip = styled.div`
width: 5vw;
text-decoration: none;
color: #fff;
z-index: 9999;
&::after {
content: '';
position: absolute;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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} />
)}
Expand Down

0 comments on commit 11beb0f

Please sign in to comment.