fix: Task list only scrollable, right panel fixed height, Progress Log variable with scroll

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-01-02 13:29:10 -03:00
parent ea9bd091c3
commit e2abebf968
2 changed files with 28 additions and 18 deletions

View file

@ -58,12 +58,14 @@
.autotask-container { .autotask-container {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-height: 100vh; height: 100vh;
max-height: 100vh;
background: var(--sentient-bg-primary); background: var(--sentient-bg-primary);
color: var(--sentient-text-primary); color: var(--sentient-text-primary);
font-family: var(--sentient-font); font-family: var(--sentient-font);
font-size: 14px; font-size: 14px;
line-height: 1.5; line-height: 1.5;
overflow: hidden;
} }
.autotask-container * { .autotask-container * {
@ -366,6 +368,8 @@
grid-template-columns: 320px 1fr; grid-template-columns: 320px 1fr;
flex: 1; flex: 1;
overflow: hidden; overflow: hidden;
height: calc(100vh - 120px);
max-height: calc(100vh - 120px);
} }
/* ============================================================================= /* =============================================================================
@ -378,6 +382,7 @@
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
padding: 12px; padding: 12px;
height: 100%;
max-height: 100%; max-height: 100%;
scrollbar-width: thin; scrollbar-width: thin;
scrollbar-color: var(--sentient-border) transparent; scrollbar-color: var(--sentient-border) transparent;
@ -665,8 +670,12 @@
.intent-detail-panel { .intent-detail-panel {
background: var(--sentient-bg-primary); background: var(--sentient-bg-primary);
overflow-y: auto; overflow: hidden;
padding: 24px; padding: 0;
height: 100%;
max-height: 100%;
display: flex;
flex-direction: column;
} }
.detail-placeholder { .detail-placeholder {

View file

@ -8,7 +8,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100%; height: 100%;
max-height: 100vh; max-height: 100%;
min-height: 0; min-height: 0;
overflow: hidden; overflow: hidden;
} }
@ -31,7 +31,7 @@
background: var(--border-light, #3a3a3a); background: var(--border-light, #3a3a3a);
} }
/* Main Container */ /* Main Container - no scroll here, children handle their own scroll */
.task-detail-rich { .task-detail-rich {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -47,8 +47,7 @@
BlinkMacSystemFont, BlinkMacSystemFont,
sans-serif sans-serif
); );
overflow-y: auto; overflow: hidden;
overflow-x: hidden;
} }
/* Header - compact */ /* Header - compact */
@ -119,26 +118,28 @@
flex-shrink: 0; flex-shrink: 0;
} }
/* Status section - compact */ /* Status section - fixed height, no scroll */
.taskmd-section-status { .taskmd-section-status {
flex-shrink: 0; flex: 0 0 auto;
max-height: 100px;
overflow: hidden;
} }
/* Progress log section - takes maximum space, scrollable */ /* Progress log section - takes ALL remaining space, scrollable */
.taskmd-section-progress { .taskmd-section-progress {
flex: 1 1 auto; flex: 1 1 auto;
min-height: 200px; min-height: 150px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;
} }
/* Terminal section - fixed at bottom, smaller */ /* Terminal section - fixed at bottom, fixed height */
.taskmd-section-terminal { .taskmd-section-terminal {
flex: 0 0 auto; flex: 0 0 120px;
height: 140px; height: 120px;
min-height: 120px; min-height: 120px;
max-height: 180px; max-height: 120px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;
@ -584,12 +585,12 @@
/* TERMINAL Section */ /* TERMINAL Section */
.taskmd-terminal { .taskmd-terminal {
flex: 0 0 auto; flex: 0 0 120px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 140px; height: 120px;
min-height: 120px; min-height: 120px;
max-height: 180px; max-height: 120px;
overflow: hidden; overflow: hidden;
} }