Skip to content

Commit

Permalink
fix(trackerCard): move drag icon to the center of the card
Browse files Browse the repository at this point in the history
  • Loading branch information
Clm-Roig committed Dec 8, 2023
1 parent ca1e520 commit 070a3fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TrackerCard/TrackerCardHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ const TrackerCardHeader: FC<Props> = ({ dragControls, tracker, ...cardHeaderProp
}
title={
<Stack direction="row" alignItems="center" gap={1}>
<Typography variant="h5">{name}</Typography>
<StyledDragIndicator
sx={{ fontSize: 18 }}
onPointerDown={(e) => dragControls.start(e)}
/>
<Typography variant="h5">{name}</Typography>
</Stack>
}
subheader={
Expand Down

0 comments on commit 070a3fa

Please sign in to comment.