diff --git a/packages/twenty-front/src/modules/activities/calendar/components/CalendarCurrentEventCursor.tsx b/packages/twenty-front/src/modules/activities/calendar/components/CalendarCurrentEventCursor.tsx index 9d0211cf1..9c67353b0 100644 --- a/packages/twenty-front/src/modules/activities/calendar/components/CalendarCurrentEventCursor.tsx +++ b/packages/twenty-front/src/modules/activities/calendar/components/CalendarCurrentEventCursor.tsx @@ -20,6 +20,13 @@ type CalendarCurrentEventCursorProps = { calendarEvent: TimelineCalendarEvent; }; +const StyledDot = styled(motion.div)` + background-color: ${({ theme }) => theme.font.color.danger}; + border-radius: 1px; + height: ${({ theme }) => theme.spacing(1)}; + width: ${({ theme }) => theme.spacing(1)}; +`; + const StyledCurrentEventCursor = styled(motion.div)` align-items: center; background-color: ${({ theme }) => theme.font.color.danger}; @@ -30,15 +37,6 @@ const StyledCurrentEventCursor = styled(motion.div)` right: 0; border-radius: ${({ theme }) => theme.border.radius.sm}; transform: translateY(-50%); - - &::before { - background-color: ${({ theme }) => theme.font.color.danger}; - border-radius: 1px; - content: ''; - display: block; - height: ${({ theme }) => theme.spacing(1)}; - width: ${({ theme }) => theme.spacing(1)}; - } `; export const CalendarCurrentEventCursor = ({ @@ -166,7 +164,18 @@ export const CalendarCurrentEventCursor = ({ transition={{ duration: theme.animation.duration.normal, }} - /> + > + + + + )} );