Skip to content

Commit

Permalink
Adjust the opacity of the popups on the opening graph on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
csillag committed May 9, 2024
1 parent 32ad2d3 commit b6145ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/pages/HomePage/Graph/GraphTooltipMobile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const GraphTooltipIcon = styled(Box, {
flex: '0 0 120px',
height: '100%',
borderRight: `2px solid ${COLORS.aqua}`,
backgroundColor: COLORS.brandExtraDark + (isMobile ? '7a' : ''),
backgroundColor: COLORS.brandExtraDark + (isMobile ? 'c0' : ''),
borderRadius: isMobile ? '12px 0 0 12px' : '0 0 0 0',
color: COLORS.white,
}))
Expand All @@ -75,7 +75,7 @@ const GraphTooltipText = styled(Box, {
justifyContent: 'space-between',
flex: '0 1 100%',
padding: theme.spacing(4),
backgroundColor: (disabled ? COLORS.shadowBlue : COLORS.brandExtraDark) + (isMobile ? '7a' : ''),
backgroundColor: (disabled ? COLORS.shadowBlue : COLORS.brandExtraDark) + (isMobile ? 'c0' : ''),
borderRadius: isMobile ? '0 12px 0 0' : '0 12px 12px 0',
}))

Expand Down

0 comments on commit b6145ec

Please sign in to comment.