mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-04 13:49:19 +01:00
🐛 Fix bug with scroll area sizing
This commit is contained in:
@@ -20,13 +20,15 @@ export const MediaList = ({ medias }: MediaListProps) => {
|
||||
|
||||
return (
|
||||
<ScrollArea
|
||||
style={{
|
||||
height: 230,
|
||||
maxWidth: '90vw',
|
||||
}}
|
||||
offsetScrollbars
|
||||
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