Skip to content

Commit

Permalink
fix: overflow in create account dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
rohan-chaturvedi committed Nov 7, 2024
1 parent 9b62a9a commit b4b6397
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export const CreateServiceAccountDialog = () => {
ref={dialogRef}
>
<form onSubmit={handleCreateServiceAccount}>
<div className="grid grid-cols-2 gap-8 max-h-[85vh] overflow-y-auto">
<div className="grid grid-cols-2 gap-8">
<Input value={name} setValue={setName} label="Account name" required maxLength={32} />
<div className="space-y-1 w-full">
<label className="block text-neutral-500 text-sm mb-2" htmlFor="role">
Expand All @@ -164,7 +164,7 @@ export const CreateServiceAccountDialog = () => {
<Listbox.Button as={Fragment} aria-required>
<div
className={clsx(
'py-2 flex items-center justify-between w-full rounded-md h-10'
'py-2 flex items-center gap-4 w-full rounded-md h-10 cursor-pointer'
)}
>
{role ? <RoleLabel role={role} /> : <>Select a role</>}
Expand Down

0 comments on commit b4b6397

Please sign in to comment.