Skip to content

Commit

Permalink
chore(frontend): adjust dropdown select popup position & width
Browse files Browse the repository at this point in the history
closes #1608
  • Loading branch information
anupcowkur committed Dec 13, 2024
1 parent 2f1602f commit 57a0bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/dashboard/app/components/dropdown_select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const DropdownSelect: React.FC<DropdownSelectProps> = ({ title, type, items, ini
</div>

{isOpen && (
<div className="z-50 origin-top-right absolute right-0 mt-2 w-48 max-h-96 overflow-auto rounded-md shadow-lg ring-1 ring-black ring-opacity-5">
<div className="z-50 origin-top-right absolute left-0 mt-2 w-fit min-w-48 max-h-96 overflow-auto rounded-md shadow-lg ring-1 ring-black ring-opacity-5">
<div
role="menu"
aria-orientation="vertical"
Expand Down

0 comments on commit 57a0bee

Please sign in to comment.