Skip to content

Commit

Permalink
fix: auto size search results
Browse files Browse the repository at this point in the history
  • Loading branch information
oae committed Nov 3, 2022
1 parent dfc3f19 commit f8eb9c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/addManga/mangaSearchResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export function MangaSearchResult({
}, [items]);

return (
<ScrollArea sx={{ height: 350 }}>
<ScrollArea.Autosize maxHeight={350}>
<SimpleGrid
cols={2}
breakpoints={[
Expand All @@ -148,6 +148,6 @@ export function MangaSearchResult({
/>
))}
</SimpleGrid>
</ScrollArea>
</ScrollArea.Autosize>
);
}

0 comments on commit f8eb9c6

Please sign in to comment.