Skip to content

Commit d9aac9f

Browse files
authored
Merge pull request #88 from rtCamp/fix/autocomplete
Fix autocomplete dropdown width.
2 parents 864c695 + 50f7aa4 commit d9aac9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/frappe-ui-react/src/components/autoComplete/autoComplete.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ const Autocomplete: React.FC<AutocompleteProps> = ({
349349
)}
350350
body={({ isOpen: isPopoverOpen }) =>
351351
isPopoverOpen && (
352-
<div className="relative mt-1 w-fit max-w-md rounded-lg bg-surface-modal text-base shadow-2xl">
352+
<div className="relative mt-1 max-w-md rounded-lg bg-surface-modal text-base shadow-2xl">
353353
{!hideSearch && (
354354
<div>
355355
<div className="sticky top-0 z-[100] flex items-stretch space-x-1.5 bg-surface-modal py-1.5 rounded-lg">

0 commit comments

Comments
 (0)