🚑 Hotfix media popover

This commit is contained in:
ajnart
2023-02-02 20:48:15 +09:00
parent 61333d6c3d
commit eff73d233a
2 changed files with 5 additions and 2 deletions

View File

@@ -172,7 +172,10 @@ export function Search() {
return ( return (
<Box style={{ width: '100%', maxWidth: 400 }}> <Box style={{ width: '100%', maxWidth: 400 }}>
<Popover <Popover
opened={OverseerrResults && OverseerrResults.length > 0 && opened && searchQuery.length > 3} opened={
(OverseerrResults && OverseerrResults.length > 0 && opened && searchQuery.length > 3) ??
false
}
position="bottom" position="bottom"
withinPortal withinPortal
shadow="md" shadow="md"

View File

@@ -18,7 +18,7 @@ export const MediaList = ({ medias }: MediaListProps) => {
return ( return (
<ScrollArea <ScrollArea
style={{ height: '80vh', maxWidth: '90vw' }} style={{ maxHeight: 450, minHeight: 210, maxWidth: '90vw' }}
offsetScrollbars offsetScrollbars
pt={5} pt={5}
className={classes.scrollArea} className={classes.scrollArea}