Add max width to the Calendar

This commit is contained in:
ajnart
2023-01-31 10:06:24 +09:00
parent f28f0b98a0
commit fd7a73c1e7

View File

@@ -18,16 +18,10 @@ export const MediaList = ({ medias }: MediaListProps) => {
return (
<ScrollArea
style={{ height: '80vh', maxWidth: '90vw' }}
offsetScrollbars
scrollbarSize={5}
pt={5}
className={classes.scrollArea}
styles={{
viewport: {
maxHeight: 450,
minHeight: 210,
},
}}
>
{mapMedias(medias.tvShows, SonarrMediaDisplay, lastMediaType === 'tv-show')}
{mapMedias(medias.movies, RadarrMediaDisplay, lastMediaType === 'movie')}