[as] chore: 웹기안기 다이얼로그 수정

This commit is contained in:
2026-09-09 18:08:08 +09:00
parent e944ad4369
commit 0f27c1e5ce
6 changed files with 8 additions and 8 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -101,7 +101,7 @@ function PwrkCnsltnDocMngDialog({ open, fnrsCnsltnDocNo, onClose }: PwrkCnsltnDo
return (
<Dialog open={open} onOpenChange={handleOpenChange}>
<DialogContent
className="max-h-[96vh] max-w-[calc(100vw-3rem)] overflow-y-auto"
className="max-h-[96vh] max-w-[80vw] overflow-y-auto"
aria-describedby={undefined}
>
<DialogHeader>
@@ -1,5 +1,7 @@
"use client";
import { Download, Fullscreen, Save } from "lucide-react";
import { Button } from "@common/components";
interface HangulGiangiToolbarProps {
@@ -16,14 +18,17 @@ function HangulGiangiToolbar({
onFullscreen,
}: HangulGiangiToolbarProps) {
return (
<div className="flex w-full flex-nowrap items-center gap-1 border-b border-border bg-background p-3">
<div className="flex w-full flex-nowrap items-center gap-2 border-b border-border bg-background p-3">
<Button type="button" color="white" size="sm" disabled={isBusy} onClick={onSave}>
<Save className="!size-5" />
저장
</Button>
<Button type="button" color="white" size="sm" disabled={isBusy} onClick={onDownload}>
<Download className="!size-5" />
다운로드
</Button>
<Button type="button" color="white" size="sm" onClick={onFullscreen}>
<Fullscreen className="!size-5" />
전체화면
</Button>
</div>
@@ -197,12 +197,7 @@ function HangulGiangi({
return;
}
try {
await iframeRef.current.requestFullscreen();
appendLog("웹한글 기안기를 전체화면으로 표시했습니다.");
} catch (error) {
appendLog(getErrorMessage(error, "전체화면 전환에 실패했습니다."));
}
await iframeRef.current.requestFullscreen();
}, [appendLog]);
return (