Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit f8eb9c6

Browse files
committed
fix: auto size search results
1 parent dfc3f19 commit f8eb9c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/addManga/mangaSearchResult.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export function MangaSearchResult({
121121
}, [items]);
122122

123123
return (
124-
<ScrollArea sx={{ height: 350 }}>
124+
<ScrollArea.Autosize maxHeight={350}>
125125
<SimpleGrid
126126
cols={2}
127127
breakpoints={[
@@ -148,6 +148,6 @@ export function MangaSearchResult({
148148
/>
149149
))}
150150
</SimpleGrid>
151-
</ScrollArea>
151+
</ScrollArea.Autosize>
152152
);
153153
}

0 commit comments

Comments
 (0)