mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 17:26:26 +01:00
Add max width to the Calendar
This commit is contained in:
@@ -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')}
|
||||
|
||||
Reference in New Issue
Block a user