diff --git a/frontend/lib/registry/pop-components/pop-work-detail/PopWorkDetailComponent.tsx b/frontend/lib/registry/pop-components/pop-work-detail/PopWorkDetailComponent.tsx index 7d5e1ab8..b20c2830 100644 --- a/frontend/lib/registry/pop-components/pop-work-detail/PopWorkDetailComponent.tsx +++ b/frontend/lib/registry/pop-components/pop-work-detail/PopWorkDetailComponent.tsx @@ -140,7 +140,7 @@ const DEFAULT_CFG: PopWorkDetailConfig = { const DESIGN = { button: { height: 60, minWidth: 130 }, - input: { height: 56 }, + input: { height: 52 }, stat: { valueSize: 40, labelSize: 16, weight: 700 }, section: { titleSize: 16, gap: 16 }, tab: { height: 52 }, @@ -236,7 +236,7 @@ function GlossyButton({ style={{ ...glossyBase, ...variantStyle, - minHeight: DESIGN.button.height, + minHeight: 60, minWidth: DESIGN.button.minWidth, fontSize: 18, ...style, @@ -2455,7 +2455,7 @@ function GroupCompleteButton({ return (
작업완료됨 @@ -2479,7 +2479,7 @@ function GroupCompleteButton({ setConfirmOpen(false); onComplete(); }} - style={{ flex: 2, minHeight: 64, fontSize: 20, borderRadius: 16 }} + style={{ flex: 2, minHeight: 64, fontSize: 18, borderRadius: 16 }} > 정말 작업완료 @@ -2500,7 +2500,7 @@ function GroupCompleteButton({ onNavigateNext(); } }} - style={{ width: '100%', minHeight: 64, fontSize: 20, borderRadius: 16 }} + style={{ width: '100%', minHeight: 64, fontSize: 18, borderRadius: 16 }} > @@ -2638,7 +2638,7 @@ function InspectNumericInput({ item, disabled, saving, onSave }: { item: WorkRes
양품 - setGood(e.target.value)} disabled={disabled} placeholder="0" /> + setGood(e.target.value)} disabled={disabled} placeholder="0" />
불량 - setDefect(e.target.value)} disabled={disabled} placeholder="0" /> + setDefect(e.target.value)} disabled={disabled} placeholder="0" />
등록 @@ -2906,7 +2906,7 @@ function CheckItem({ item, disabled, saving, onSave }: { item: WorkResultRow; di { const val = v ? "Y" : "N"; onSave(item.id, val, v ? "Y" : "N", v ? "completed" : "pending"); @@ -3007,7 +3007,7 @@ function InspectOX({ item, disabled, saving, onSave }: { item: WorkResultRow; di size="sm" variant={currentValue === "OK" ? "default" : "outline"} className={cn("gap-1.5 px-6 font-medium", currentValue === "OK" && "bg-green-600 hover:bg-green-700")} - style={{ height: `${DESIGN.button.height}px`, fontSize: `${DESIGN.section.titleSize}px` }} + style={{ height: `${DESIGN.button.height}px`, fontSize: 20 }} disabled={disabled} onClick={() => handleSelect("OK")} > @@ -3017,7 +3017,7 @@ function InspectOX({ item, disabled, saving, onSave }: { item: WorkResultRow; di size="sm" variant={currentValue === "NG" ? "default" : "outline"} className={cn("gap-1.5 px-6 font-medium", currentValue === "NG" && "bg-red-600 hover:bg-red-700")} - style={{ height: `${DESIGN.button.height}px`, fontSize: `${DESIGN.section.titleSize}px` }} + style={{ height: `${DESIGN.button.height}px`, fontSize: 20 }} disabled={disabled} onClick={() => handleSelect("NG")} > @@ -3065,7 +3065,7 @@ function InspectSelect({ item, disabled, saving, onSave }: { item: WorkResultRow size="sm" variant={currentValue === opt ? "default" : "outline"} className="px-4" - style={{ height: `${DESIGN.button.height}px`, fontSize: `${DESIGN.section.titleSize}px` }} + style={{ height: `${DESIGN.button.height}px`, fontSize: 20 }} disabled={disabled} onClick={() => handleSelect(opt)} > @@ -3111,7 +3111,7 @@ function InspectText({ item, disabled, saving, onSave }: { item: WorkResultRow; size="sm" variant={judged === "Y" ? "default" : "outline"} className={cn("px-4", judged === "Y" && "bg-green-600 hover:bg-green-700")} - style={{ height: `${DESIGN.button.height}px`, fontSize: `${DESIGN.section.titleSize}px` }} + style={{ height: `${DESIGN.button.height}px`, fontSize: 20 }} disabled={disabled} onClick={() => handleJudge("Y")} > @@ -3121,7 +3121,7 @@ function InspectText({ item, disabled, saving, onSave }: { item: WorkResultRow; size="sm" variant={judged === "N" ? "default" : "outline"} className={cn("px-4", judged === "N" && "bg-red-600 hover:bg-red-700")} - style={{ height: `${DESIGN.button.height}px`, fontSize: `${DESIGN.section.titleSize}px` }} + style={{ height: `${DESIGN.button.height}px`, fontSize: 20 }} disabled={disabled} onClick={() => handleJudge("N")} > @@ -3176,7 +3176,7 @@ function ProcedureItem({ item, disabled, saving, onSave }: { item: WorkResultRow { onSave(item.id, v ? "Y" : "N", null, v ? "completed" : "pending"); }} @@ -3226,7 +3226,7 @@ function MaterialItem({ item, disabled, saving, onSave }: { item: WorkResultRow; disabled={disabled} placeholder="LOT/바코드 스캔 또는 입력" /> - {saving && } @@ -3290,7 +3290,7 @@ function ResultInputItem({ item, disabled, saving, onSave }: { item: WorkResultR
- {saving && }