shrink realtime close button
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled

This commit is contained in:
Your Name 2026-03-08 17:18:18 +08:00
parent 416cb49ecc
commit f1bc171936

View File

@ -2783,14 +2783,14 @@ export function RealtimeCanvasDialog({
<div className="pointer-events-none absolute top-6 right-6 z-50">
<div className="pointer-events-auto rounded-full border border-black bg-black p-1 shadow-sm">
<Button
className="h-9 w-9 rounded-full text-white transition hover:bg-white/10 hover:text-white"
className="h-7 w-7 rounded-full text-white transition hover:bg-white/10 hover:text-white"
onClick={handleCloseRealtime}
size="icon"
title="关闭"
type="button"
variant="ghost"
>
<X className="h-5 w-5" />
<X className="h-4 w-4" />
</Button>
</div>
</div>
@ -2911,7 +2911,7 @@ export function RealtimeCanvasDialog({
</div>
<div className="mt-2 flex items-center justify-end gap-2">
<Button
className="h-8 rounded-xl px-4"
className="h-8 rounded-xl bg-black px-4 text-white hover:bg-black/90"
onClick={() => void openSavedProject(project.id)}
size="sm"
type="button"