File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -249,10 +249,12 @@ function Card({ data }) {
249249
250250 < div className = "absolute right-0 top-0" >
251251 < div className = "relative" ref = { shareBtnRef } >
252- < FaShareAlt
253- className = "cursor-pointer text-xl text-blue-600 duration-300 hover:scale-125"
254- onClick = { ( ) => setShowTooltip ( true ) }
255- />
252+ { ! showTooltip && (
253+ < FaShareAlt
254+ className = "cursor-pointer text-xl text-blue-600 duration-300 hover:scale-125"
255+ onClick = { ( ) => setShowTooltip ( true ) }
256+ />
257+ ) }
256258 { showTooltip && (
257259 < div className = "profile-share-tooltip" >
258260 < button className = "profile-share-close" onClick = { ( ) => setShowTooltip ( false ) } >
Original file line number Diff line number Diff line change 11/* Tooltip styles for Profile share button */
22.profile-share-tooltip {
33 position : absolute;
4- top : 40 px ;
5- right : 0 ;
4+ top : -10 px ;
5+ right : -10 px ;
66 z-index : 50 ;
77 background : # 091224 ;
88 color : # 00a6fb ;
You can’t perform that action at this time.
0 commit comments