Skip to content

Commit

Permalink
improve timeline tooltip arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Chaillet committed Jan 14, 2025
1 parent a8966e4 commit 53fca9f
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ const TimelineItems = memo(
tooltip: isShowingAAStormLayer
? classes.AAStormTooltip
: classes.AADroughtTooltip,
arrow: classes.arrow,
}}
>
<Grid
Expand Down Expand Up @@ -214,6 +215,16 @@ const useStyles = makeStyles(() =>
border: '2px solid black',
},
},

arrow: {
width: '12px',
height: '10px',
bottom: '-3px !important',
'&::before': {
backgroundColor: 'white',
boxShadow: 'inset 0px 0px 1px 1px #D3D3D3',
},
},
}),
);

Expand Down

0 comments on commit 53fca9f

Please sign in to comment.