Skip to content

Commit

Permalink
Use translate to prevent event dot from jumping
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Sep 11, 2024
1 parent be80322 commit db54470
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/components/src/date-time/date/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,10 @@ export const DayButton = styled( Button, {
: COLORS.theme.accent
};
border-radius: ${ CONFIG.radiusRound };
bottom: 2px;
content: " ";
left: 50%;
position: absolute;
transform: translateX(-50%);
transform: translate(-50%, 9px);
}
` }
`;

0 comments on commit db54470

Please sign in to comment.