fix(fe): fix ModelList (models-master) scroll on first load - apply height propagation standard

Problem: .master-list had hardcoded height: calc(100vh - 210px), causing scroll on first load

Changes:
  • .master-list: calc(100vh - 210px) → flex: 1; min-height: 0;
  • .items: Added missing min-height: 0; (required for flex children)

Result: Single-screen principle restored (no page-level scroll, height fills viewport)

This aligns with AGENTS.md Height Propagation Chain standard.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-08-16 00:30:00 +09:00
parent 17bb6ed72d
commit dbbfaca4d8
@@ -376,7 +376,8 @@ h3 {
border-radius: var(--ks-radius-sm); border-radius: var(--ks-radius-sm);
overflow: hidden; overflow: hidden;
background: var(--ks-color-surface); background: var(--ks-color-surface);
height: calc(100vh - 210px); flex: 1;
min-height: 0;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
@@ -397,6 +398,7 @@ h3 {
gap: var(--ks-space-2); gap: var(--ks-space-2);
padding: var(--ks-space-2); padding: var(--ks-space-2);
flex: 1; flex: 1;
min-height: 0;
overflow-y: auto; overflow-y: auto;
} }