Skip to content

Commit

Permalink
🔨 chore: fix overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
casperiv0 committed Nov 10, 2021
1 parent 5ffe444 commit 0b3f225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/components/form/InputSuggestions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const InputSuggestions = ({ Component, onSuggestionClick, options, inputP
<Input {...(inputProps as any)} onFocus={() => setOpen(true)} onChange={handleChange} />

{isOpen && suggestions.length > 0 ? (
<div className="absolute z-50 w-full p-2 bg-white rounded-md shadow-md top-11 dark:bg-dark-bright max-h-72">
<div className="absolute z-50 w-full p-2 overflow-auto bg-white rounded-md shadow-md top-11 dark:bg-dark-bright max-h-60">
<ul>
{suggestions.map((suggestion) => (
<li
Expand Down

0 comments on commit 0b3f225

Please sign in to comment.