style(admin): align company dropdown in user list to the right to avoid horizontal scrolling
All checks were successful
Staging Build / build (push) Successful in 3m30s

This commit is contained in:
DanielS
2026-06-30 15:32:08 +02:00
parent 4b07e68aa0
commit fc51d53aa3

View File

@@ -322,7 +322,7 @@ export function UserList({ initialUsers, companies }: UserListProps) {
)}
</div>
{companyDropdownOpen === user.id && (
<div className="absolute z-50 mt-1 left-0 w-56 bg-white dark:bg-slate-900 border border-slate-200 dark:border-white/10 rounded-lg shadow-xl overflow-hidden">
<div className="absolute z-50 mt-1 right-0 w-56 bg-white dark:bg-slate-900 border border-slate-200 dark:border-white/10 rounded-lg shadow-xl overflow-hidden">
<div className="p-2 border-b border-slate-200 dark:border-white/10">
<input
type="text"