Skip to content

Commit d5e7d6b

Browse files
KrapfalATclaude
andcommitted
fix: modal content not scrollable (add min-height: 0 to flex children)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 5ba1eaa commit d5e7d6b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

frontend/src/lib/components/AddWineModal.svelte

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -496,14 +496,15 @@
496496
/* ── Body & layout ─────────────────────────────────────── */
497497
.modal-body {
498498
flex: 1;
499+
min-height: 0;
499500
overflow: hidden;
500501
display: flex;
501502
}
502503
503504
.modal-layout {
504505
display: flex;
505-
width: 100%;
506-
height: 100%;
506+
flex: 1;
507+
min-height: 0;
507508
overflow: hidden;
508509
}
509510
@@ -600,11 +601,10 @@
600601
/* ── Right content column ───────────────────────────────── */
601602
.modal-content {
602603
flex: 1;
603-
display: flex;
604-
flex-direction: column;
604+
min-height: 0;
605+
min-width: 0;
605606
overflow-y: auto;
606607
padding: 18px 22px;
607-
min-width: 0;
608608
}
609609
610610
/* ── Barcode search ─────────────────────────────────────── */

0 commit comments

Comments
 (0)