fix(config-page): restore page and editor scrolling with fixed card height

This commit is contained in:
Supra4E8C
2025-12-28 23:50:08 +08:00
parent 95cbfb8c59
commit 5ef3406068

View File

@@ -2,11 +2,10 @@
.container { .container {
width: 100%; width: 100%;
height: 100%; min-height: 100%;
flex: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-height: 0; overflow-y: auto;
} }
.pageTitle { .pageTitle {
@@ -134,8 +133,8 @@
.editorWrapper { .editorWrapper {
width: 100%; width: 100%;
flex: 0 0 auto; flex: 1;
height: 480px; min-height: 400px;
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: $radius-lg; border-radius: $radius-lg;
overflow: hidden; overflow: hidden;
@@ -220,9 +219,9 @@
.configCard { .configCard {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
flex: 1; height: 560px;
min-height: 0; flex-shrink: 0;
overflow: hidden; overflow: visible;
} }
.actions { .actions {
@@ -254,10 +253,11 @@
} }
.configCard { .configCard {
height: 440px;
padding: $spacing-md; padding: $spacing-md;
} }
.editorWrapper { .editorWrapper {
height: 360px; min-height: 300px;
} }
} }