Skip to content

best way to save what you love

web/SmallDialog: make body scrollable on overflow & limit height

wukko8c96ccbc7bd4
diff --git a/web/src/components/dialog/SmallDialog.svelte b/web/src/components/dialog/SmallDialog.svelte
index 9f729c48..20482dd1 100644
--- a/web/src/components/dialog/SmallDialog.svelte
+++ b/web/src/components/dialog/SmallDialog.svelte
@@ -88,6 +88,7 @@
}
.popup-body {
+ overflow-y: scroll;
gap: 8px;
}
@@ -100,6 +101,7 @@
width: calc(
100% - var(--padding) - var(--dialog-padding) * 2
);
+ max-height: 50%;
background: var(--popup-bg);
box-shadow:
0 0 0 2px var(--popup-stroke) inset,