diff --git a/src/widgets/calendar/CalendarDay.tsx b/src/widgets/calendar/CalendarDay.tsx index 722a371e6..a7e307ebd 100644 --- a/src/widgets/calendar/CalendarDay.tsx +++ b/src/widgets/calendar/CalendarDay.tsx @@ -1,7 +1,6 @@ -import { Box, Indicator, IndicatorProps, Popover } from '@mantine/core'; +import { Container, Indicator, IndicatorProps, Popover } from '@mantine/core'; import { useDisclosure } from '@mantine/hooks'; import { MediaList } from './MediaList'; -import { getBgColorByDateAndTheme } from './bg-calculator'; import { MediasType } from './type'; interface CalendarDayProps { @@ -30,14 +29,7 @@ export const CalendarDay = ({ date, medias }: CalendarDayProps) => { opened={opened} > - ({ - margin: 5, - backgroundColor: getBgColorByDateAndTheme(theme.colorScheme, date), - })} - w="100%" - > + @@ -47,7 +39,7 @@ export const CalendarDay = ({ date, medias }: CalendarDayProps) => { - +