Skip to content

Commit de444f8

Browse files
committed
fix(slide10): compact pipeline cards to fit container without overflow
1 parent 3989cc4 commit de444f8

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/components/slides/Slide10RealDemo.svelte

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -261,23 +261,23 @@
261261
.wf-steps {
262262
display: flex;
263263
align-items: center;
264-
gap: var(--spacing-sm);
265-
flex-wrap: wrap;
264+
gap: 4px;
265+
flex-wrap: nowrap;
266266
}
267267
268268
.wf-step {
269269
display: flex;
270270
align-items: center;
271-
gap: var(--spacing-sm);
272-
padding: var(--spacing-sm) var(--spacing-md);
271+
gap: 4px;
272+
padding: 4px 6px;
273273
background: rgba(59, 130, 246, 0.08);
274274
border: 1px solid rgba(96, 165, 250, 0.15);
275275
border-radius: var(--radius-sm);
276276
flex: 1;
277277
min-width: 0;
278278
}
279279
280-
.wf-icon { font-size: 1.2rem; flex-shrink: 0; }
280+
.wf-icon { font-size: 0.9rem; flex-shrink: 0; }
281281
282282
.wf-body {
283283
display: flex;
@@ -288,16 +288,18 @@
288288
289289
.wf-label {
290290
font-family: var(--font-display);
291-
font-size: 0.82rem;
291+
font-size: 0.72rem;
292292
font-weight: 700;
293293
color: var(--color-neutral-light);
294+
white-space: nowrap;
294295
}
295296
296297
.wf-cmd {
297298
font-family: var(--font-mono);
298-
font-size: 0.7rem;
299+
font-size: 0.6rem;
299300
color: var(--color-electric);
300301
opacity: 0.8;
302+
line-height: 1.3;
301303
}
302304
303305
.wf-arrow {

0 commit comments

Comments
 (0)