From db54470f709ddf67a3565d54af587f789dc11ba9 Mon Sep 17 00:00:00 2001 From: Marco Ciampini Date: Wed, 11 Sep 2024 09:50:25 +0200 Subject: [PATCH] Use translate to prevent event dot from jumping --- packages/components/src/date-time/date/styles.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/components/src/date-time/date/styles.ts b/packages/components/src/date-time/date/styles.ts index 2e226750d6e2d5..84405854827ec9 100644 --- a/packages/components/src/date-time/date/styles.ts +++ b/packages/components/src/date-time/date/styles.ts @@ -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); } ` } `;