fix: refine settings dialog layout
This commit is contained in:
@@ -166,7 +166,7 @@ export function OrganizationRowActions({
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="flex items-center justify-end gap-2">
|
||||
<div className="flex flex-wrap items-center justify-end gap-2">
|
||||
<Button onClick={() => setIsEditOpen(true)} size="sm" type="button" variant="outline">
|
||||
<Pencil className="size-4" aria-hidden="true" />
|
||||
编辑
|
||||
@@ -195,6 +195,7 @@ export function OrganizationRowActions({
|
||||
</Button>
|
||||
)}
|
||||
<Dialog
|
||||
className="max-w-lg"
|
||||
description="编辑机构名称、唯一标识和启停状态。"
|
||||
onClose={() => setIsEditOpen(false)}
|
||||
open={isEditOpen}
|
||||
@@ -223,7 +224,7 @@ export function OrganizationRowActions({
|
||||
{message}
|
||||
</p>
|
||||
) : null}
|
||||
<div className="flex justify-end gap-2">
|
||||
<div className="flex flex-col-reverse gap-2 sm:flex-row sm:justify-end">
|
||||
<Button onClick={() => setIsEditOpen(false)} type="button" variant="outline">
|
||||
取消
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user