File tree 2 files changed +31
-21
lines changed
2 files changed +31
-21
lines changed Original file line number Diff line number Diff line change @@ -203,6 +203,7 @@ export const Tooltip = styled.div`
203
203
width: 5vw;
204
204
text-decoration: none;
205
205
color: #fff;
206
+ z-index: 9999;
206
207
&::after {
207
208
content: '';
208
209
position: absolute;
Original file line number Diff line number Diff line change @@ -103,27 +103,36 @@ const ChatSpaceHeader = (props: {
103
103
< span > { chatPartners ?. name || '' } </ span >
104
104
</ S . ChatSpaceHeaderLeft >
105
105
< 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 >
127
136
{ isOpenInfo && (
128
137
< ChatInfoModal show = { isOpenInfo } hide = { handleInfoModal } />
129
138
) }
You can’t perform that action at this time.
0 commit comments