🐛 Fix Calendar

This commit is contained in:
ajnart
2023-04-17 14:48:04 +09:00
parent ec76c10fdc
commit 543113292b
2 changed files with 43 additions and 38 deletions

View File

@@ -1,4 +1,4 @@
import { Box, Indicator, IndicatorProps, Popover } from '@mantine/core';
import { ActionIcon, Box, Button, Indicator, IndicatorProps, Popover } from '@mantine/core';
import { useDisclosure } from '@mantine/hooks';
import { isToday } from '../../tools/shared/time/date.tool';
import { MediaList } from './MediaList';
@@ -70,7 +70,7 @@ const DayIndicator = ({ color, medias, children, position }: DayIndicatorProps)
if (medias.length === 0) return children;
return (
<Indicator size={10} withBorder offset={5} color={color} position={position}>
<Indicator size={10} withBorder offset={-5} color={color} position={position}>
{children}
</Indicator>
);