Skip to content

Commit 9c02ae5

Browse files
committed
fix: add scroll on multiselect options
1 parent 8e94de3 commit 9c02ae5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Form/MultiSelect.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ function MultiSelect({
220220
}
221221
>
222222
<div className="overflow-auto text-sm">
223-
<ul>
224-
<li className="flex items-center my-1 border-b pb-1 sticky top-0 bg-white">
223+
<ul className="max-h-60">
224+
<li className="flex items-center pb-1 border-b sticky top-0 bg-white">
225225
<input
226226
type="checkbox"
227227
checked={allSelected}

0 commit comments

Comments
 (0)