align buttons to the right to match other dialogs

This commit is contained in:
Athou
2024-01-01 10:47:39 +01:00
parent 50cf9718a3
commit bbbb9c10a6

View File

@@ -39,7 +39,7 @@ export function UserEdit(props: UserEditProps) {
<Checkbox label={<Trans>Admin</Trans>} {...form.getInputProps("admin", { type: "checkbox" })} />
<Checkbox label={<Trans>Enabled</Trans>} {...form.getInputProps("enabled", { type: "checkbox" })} />
<Group>
<Group justify="right">
<Button variant="default" onClick={props.onCancel}>
<Trans>Cancel</Trans>
</Button>