Calendar styling changes

This commit is contained in:
Thomas Camlong authored and ajnart committed 2022-11-22 12:49:23 +09:00
1 parent 7647ec058c
commit cebeb61b94
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -7,6 +7,7 @@ import {
ScrollArea,
createStyles,
useMantineTheme,
Space,
} from '@mantine/core';
import React, { useEffect, useState } from 'react';
import { Calendar } from '@mantine/dates';
@@ -278,10 +279,11 @@ function DayComponent(props: any) {
scrollbarSize={5}
style={{
height:
totalFiltered.slice(0, 2).length > 1 ? totalFiltered.slice(0, 2).length * 150 : 200,
totalFiltered.slice(0, 2).length > 1 ? totalFiltered.slice(0, 2).length * 150 : 220,
width: 400,
}}
>
<Space mt={5} />
{sonarrFiltered.map((media: any, index: number) => (
<React.Fragment key={index}>
<SonarrMediaDisplay media={media} />