Fix critical editor dialog layout

This commit is contained in:
2026-03-14 15:26:28 +01:00
parent 45e8a26d96
commit 19164736ad
3 changed files with 18 additions and 5 deletions

View File

@@ -630,15 +630,25 @@ textarea {
.critical-editor-dialog {
width: min(1100px, 100%);
max-height: 100%;
max-height: calc(100vh - 2.5rem);
display: flex;
flex-direction: column;
min-height: 0;
overflow: hidden;
border-radius: 24px;
background: rgba(255, 250, 242, 0.98);
border: 1px solid rgba(127, 96, 55, 0.18);
box-shadow: 0 28px 60px rgba(41, 22, 11, 0.24);
}
.critical-editor-form {
display: flex;
flex: 1 1 auto;
min-height: 0;
flex-direction: column;
overflow: hidden;
}
.critical-editor-header,
.critical-editor-footer {
display: flex;
@@ -664,6 +674,8 @@ textarea {
}
.critical-editor-body {
flex: 1 1 auto;
min-height: 0;
overflow: auto;
padding: 1rem 1.25rem 1.25rem;
display: grid;