feat: update dropdown menu styling and structure for improved UI consistency and responsiveness

This commit is contained in:
Anish Sarkar 2026-02-22 04:35:59 +05:30
parent 0e1f0d09e5
commit ac0027e2d2
2 changed files with 29 additions and 51 deletions

View file

@ -569,7 +569,7 @@ function MemberRow({
<ChevronDown className="h-4 w-4" />
</button>
</DropdownMenuTrigger>
<DropdownMenuContent align="end" onCloseAutoFocus={(e) => e.preventDefault()} className="min-w-[180px] dark:bg-neutral-800 dark:border dark:border-neutral-700">
<DropdownMenuContent align="end" onCloseAutoFocus={(e) => e.preventDefault()} className="min-w-[120px] bg-muted dark:border dark:border-neutral-700">
{canManageRoles &&
roles
.filter((r) => r.name !== "Owner")