style(FN-988): make agent preset list scrollable in dialog

- Add max-height with viewport-relative constraint to dialog container
- Add max-height and overflow-y scroll to agent preset grid
- Prevents dialog from overflowing viewport when many presets exist
This commit is contained in:
gsxdsm
2026-04-05 17:26:30 -07:00
parent 88df7387b5
commit 04341e7fcc

View File

@@ -19909,6 +19909,7 @@ html .column.drag-over * {
border-radius: var(--radius-lg);
width: 100%;
max-width: 520px;
max-height: calc(100vh - 40px);
display: flex;
flex-direction: column;
overflow: hidden;
@@ -20101,6 +20102,8 @@ html .column.drag-over * {
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
gap: var(--space-sm);
margin-bottom: var(--space-lg);
max-height: 400px;
overflow-y: auto;
}
.agent-preset-card {