mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-31 05:50:12 +02:00
web/SmallDialog: make body scrollable on overflow & limit height
This commit is contained in:
parent
bdd572ea51
commit
8c96ccbc7b
@ -88,6 +88,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.popup-body {
|
.popup-body {
|
||||||
|
overflow-y: scroll;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -100,6 +101,7 @@
|
|||||||
width: calc(
|
width: calc(
|
||||||
100% - var(--padding) - var(--dialog-padding) * 2
|
100% - var(--padding) - var(--dialog-padding) * 2
|
||||||
);
|
);
|
||||||
|
max-height: 50%;
|
||||||
background: var(--popup-bg);
|
background: var(--popup-bg);
|
||||||
box-shadow:
|
box-shadow:
|
||||||
0 0 0 2px var(--popup-stroke) inset,
|
0 0 0 2px var(--popup-stroke) inset,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user