Explicitly set min and max dimensions for popup dialog

This commit is contained in:
Cohee 2024-06-28 13:10:15 +00:00
parent 8136293593
commit 89e5562494

View File

@ -14,6 +14,10 @@ dialog {
display: flex;
flex-direction: column;
max-height: calc(100svh - 2em);
max-width: calc(100svw - 2em);
min-height: fit-content;
/* Overflow visible so elements (like toasts) can appear outside of the dialog. '.popup-body' is hiding overflow for the real content. */
overflow: visible;