优化 UI 编辑器复制反馈布局

将复制失败提示与操作按钮分离排列
This commit is contained in:
2026-09-14 19:06:15 +08:00
parent 70981b9ca9
commit 9910a0eec0
@@ -55,15 +55,17 @@ function GeneratedNotice({
<code className="mt-2 block select-text break-all rounded-lg bg-black/5 px-3 py-2 text-xs leading-5">
{relativePath}
</code>
<div className="mt-5 flex flex-wrap justify-end gap-2">
<div className="mt-5">
<UiEditorCopyPathButton relativePath={relativePath} />
<button
type="button"
className="rounded-lg bg-orange-600 px-3 py-2 text-xs font-semibold text-white"
onClick={onClose}
>
</button>
<div className="mt-3 flex justify-end">
<button
type="button"
className="rounded-lg bg-orange-600 px-3 py-2 text-xs font-semibold text-white"
onClick={onClose}
>
</button>
</div>
</div>
</>
);