분할패널 상단헤더 크기 조정기능

This commit is contained in:
kjs
2025-12-23 09:37:40 +09:00
parent 5f406fbe88
commit 73cc969bd8
3 changed files with 62 additions and 12 deletions

View File

@@ -602,6 +602,19 @@ export const SplitPanelLayoutConfigPanel: React.FC<SplitPanelLayoutConfigPanelPr
/>
</div>
<div className="space-y-2">
<Label> (px)</Label>
<Input
type="number"
value={config.leftPanel?.panelHeaderHeight || 48}
onChange={(e) => updateLeftPanel({ panelHeaderHeight: parseInt(e.target.value) || 48 })}
placeholder="48"
min={32}
max={120}
/>
<p className="text-xs text-muted-foreground"> (기본: 48px)</p>
</div>
<div className="space-y-2">
<Label> ( )</Label>
<div className="rounded-lg border border-gray-200 bg-gray-50 p-3">
@@ -1486,6 +1499,19 @@ export const SplitPanelLayoutConfigPanel: React.FC<SplitPanelLayoutConfigPanelPr
/>
</div>
<div className="space-y-2">
<Label> (px)</Label>
<Input
type="number"
value={config.rightPanel?.panelHeaderHeight || 48}
onChange={(e) => updateRightPanel({ panelHeaderHeight: parseInt(e.target.value) || 48 })}
placeholder="48"
min={32}
max={120}
/>
<p className="text-xs text-muted-foreground"> (기본: 48px)</p>
</div>
{/* 관계 타입에 따라 테이블 선택 UI 변경 */}
{relationshipType === "detail" ? (
// 상세 모드: 좌측과 동일한 테이블 (자동 설정)