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

This commit is contained in:
wukko 2024-07-23 10:01:55 +06:00
parent bdd572ea51
commit 8c96ccbc7b
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -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,