Skip to content

Commit 1cddd33

Browse files
authored
Merge pull request #3 from itk-dev/feature/fix-mock-panel-scroll
fix: resolve scroll overflow on mock panels
2 parents 6fb9bcb + 9fa2584 commit 1cddd33

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

docs/projects/agentic-orchestration/mocks/unified-platform.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ body {
77
background: #f5f6f8;
88
color: #1a1a2e;
99
display: flex;
10-
min-height: 100vh;
10+
height: 100vh;
1111
overflow: hidden;
1212
}
1313

@@ -161,6 +161,7 @@ body {
161161
display: flex;
162162
flex-direction: column;
163163
padding-top: 24px;
164+
min-height: 0;
164165
overflow: hidden;
165166
}
166167

@@ -171,6 +172,7 @@ body {
171172
padding: 12px 24px;
172173
border-bottom: 1px solid #e5e7eb;
173174
background: #fff;
175+
flex-shrink: 0;
174176
}
175177
.topbar h2 {
176178
font-size: 16px;
@@ -199,13 +201,18 @@ body {
199201
.topbar-search:focus { border-color: #3b5bdb; }
200202

201203
/* ── Panels ── */
204+
/* min-height: 0 lets the flex item shrink below its content so overflow-y scrolls */
202205
.panel {
203206
display: none;
204207
flex: 1;
208+
min-height: 0;
205209
overflow-y: auto;
206210
padding: 24px;
207211
}
208-
.panel.active { display: flex; flex-direction: column; min-height: 0; }
212+
.panel.active { display: block; }
213+
/* Panels that need flex to stretch children vertically (kanban board, assistant chat) */
214+
#panel-tasks.active,
215+
#panel-assistant.active { display: flex; flex-direction: column; }
209216

210217
/* ── Buttons ── */
211218
.btn {
@@ -237,7 +244,6 @@ body {
237244
border: 1px solid #e5e7eb;
238245
border-radius: 10px;
239246
padding: 24px;
240-
min-height: 400px;
241247
}
242248

243249
/* Process list */

0 commit comments

Comments
 (0)