Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const DeletePermission: React.FC<Props> = ({ trigger, permission }) => {
return (
<Dialog open={open} onOpenChange={(o) => setOpen(o)}>
<DialogTrigger>{trigger}</DialogTrigger>
<DialogContent className="border-alert">
<DialogContent className="border-alert p-4 max-w-md mx-auto">
<DialogHeader>
<DialogTitle>Delete Permission</DialogTitle>
<DialogDescription>
Expand All @@ -96,10 +96,11 @@ export const DeletePermission: React.FC<Props> = ({ trigger, permission }) => {
<FormLabel className="font-normal text-content-subtle">
{" "}
Enter the permission's name{" "}
<span className="font-medium text-content">{permission.name}</span> to continue:
<span className="font-medium text-content break-all">{permission.name}</span> to
continue:
</FormLabel>
<FormControl>
<Input {...field} autoComplete="off" />
<Input {...field} autoComplete="off" className="w-full" />
</FormControl>

<FormMessage />
Expand Down