fix(BOOK-699): Height of dialog now fits content with max-height

Approved-by: Bianca Widstam
Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2026-01-29 07:11:42 +00:00
parent 6d9cbad8bf
commit d9a20a224a
2 changed files with 4 additions and 3 deletions

View File

@@ -5,7 +5,6 @@
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.5);
align-items: center;
z-index: var(--default-modal-overlay-z-index);
}
@@ -35,7 +34,8 @@
align-content: start;
padding: var(--Space-x4) var(--Space-x3);
overflow-y: auto;
height: min(calc(80dvh - 180px), 500px);
height: max-content;
max-height: calc(80dvh - 180px);
}
.alertWrapper:not(:empty) {