Fix Edit Role submenu overflowing right edge of viewport
Submenu was positioned left-full (opening rightward) but the parent dropdown is already at the right edge. Changed to right-full so it opens leftward into available space. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
4fc85684ea
commit
e860723a2a
@ -132,7 +132,7 @@ export default function UserActionsMenu({ user }: UserActionsMenuProps) {
|
||||
|
||||
{roleSubmenuOpen && (
|
||||
<div
|
||||
className="absolute left-full top-0 z-50 min-w-[180px] rounded-lg border bg-card shadow-lg py-1"
|
||||
className="absolute right-full top-0 z-50 min-w-[180px] rounded-lg border bg-card shadow-lg py-1"
|
||||
onMouseEnter={() => setRoleSubmenuOpen(true)}
|
||||
onMouseLeave={() => setRoleSubmenuOpen(false)}
|
||||
>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user