Make EditWorkspaceUsersModal scrollable ()

make EditWorkspaceUsersModal scrollable
This commit is contained in:
Sean Hatfield 2024-03-06 14:58:35 -08:00 committed by GitHub
parent e0d5d8039a
commit 5907eb9939
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,7 +52,7 @@ export default function EditWorkspaceUsersModal({
</div>
<form onSubmit={handleUpdate}>
<div className="p-6 space-y-6 flex h-full w-full">
<div className="w-full flex flex-col gap-y-4">
<div className="w-full flex flex-col gap-y-4 max-h-[350px] overflow-y-scroll">
{users
.filter((user) => user.role !== "admin")
.map((user) => {