Skip to content

Commit 2c4c787

Browse files
fix: enable compose editor scrolling
1 parent ee672f5 commit 2c4c787

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎web/src/style.css‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ h2 {
480480
.compose-step-header h2 { margin: 0; }
481481
.compose-step-header p { margin: 4px 0 0; }
482482
.compose-workspace { width: 100%; }
483-
.compose-editor-main { flex: 1; min-height: 0; }
483+
.compose-editor-main { flex: 1; min-height: 0; overflow: hidden; }
484484
.compose-editor-shell--fill { height: 100%; }
485485
.compose-editor-shell--fill .compose-editor-main, .compose-editor-shell--fill .compose-editor { flex: 1; min-height: calc(17 * 1.5em + 32px); }
486486
.compose-editor-shell--fill .cm-editor, .compose-editor { height: 100%; min-height: 0; }
@@ -495,7 +495,8 @@ h2 {
495495
.compose-validation-status { display: inline-flex; align-items: center; gap: 4px; color: #aeb4c0; font-size: 12px; }
496496
.compose-statusbar { flex: 0 0 28px; min-height: 28px; display: flex; justify-content: space-between; align-items: center; padding: 0 10px; color: #aeb4c0; font-size: 11px; }
497497
.application-wizard-page .compose-editor { height: 100%; min-height: calc(17 * 1.5em + 32px); }
498-
.application-wizard-page .cm-editor { height: 100% !important; }
498+
.application-wizard-page .cm-editor { height: 100% !important; min-height: 0; display: flex; flex-direction: column; }
499+
.application-wizard-page .cm-scroller { flex: 1; min-height: 0; overflow: auto; }
499500
.wizard-confirm { position: fixed; z-index: 20; right: 24px; bottom: 24px; width: min(420px, calc(100vw - 32px)); padding: 18px; border: 1px solid #59621d; border-radius: 12px; background: #1b1e24; box-shadow: 0 18px 50px #0008; }
500501
.wizard-confirm p { color: #aeb4c0; }
501502
.wizard-confirm > div { display: flex; justify-content: flex-end; gap: 10px; }

0 commit comments

Comments
 (0)