mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 15:35:55 +01:00
🚑 Hotfix media popover
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user