Skip to content

Commit

Permalink
fix(frontend): make user def attr dropdown stay in viewport
Browse files Browse the repository at this point in the history
fixes #1783
  • Loading branch information
anupcowkur committed Jan 31, 2025
1 parent a8efee8 commit a766eb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ const UserDefAttrSelector: React.FC<UserDefAttrSelectorProps> = ({ attrs, ops, o
</div>

{isOpen && (
<div className="z-50 origin-top-right absolute left-0 mt-2 w-[600px] max-h-96 overflow-auto rounded-md shadow-lg ring-1 ring-black ring-opacity-5">
<div className="z-50 origin-top-right absolute right-0 mt-2 w-[600px] 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 a766eb1

Please sign in to comment.