fix(layout): restore scroll and set panel heights

This commit is contained in:
Supra4E8C
2025-12-26 17:37:49 +08:00
parent ff9bd8a33b
commit 46701b40ad
3 changed files with 55 additions and 7 deletions

View File

@@ -134,8 +134,8 @@
.editorWrapper {
width: 100%;
flex: 1;
min-height: 200px;
flex: 0 0 auto;
height: 480px;
border: 1px solid var(--border-color);
border-radius: $radius-lg;
overflow: hidden;
@@ -238,3 +238,26 @@
}
}
}
@media (max-height: 820px) {
.pageTitle {
font-size: 24px;
margin-bottom: $spacing-sm;
}
.description {
margin-bottom: $spacing-lg;
}
.content {
gap: $spacing-md;
}
.configCard {
padding: $spacing-md;
}
.editorWrapper {
height: 360px;
}
}

View File

@@ -161,8 +161,8 @@
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: $radius-md;
flex: 1;
min-height: 200px;
flex: 0 0 auto;
height: 480px;
overflow: auto;
position: relative;
-webkit-overflow-scrolling: touch;
@@ -371,3 +371,30 @@
color: var(--text-secondary);
word-break: break-word;
}
@media (max-height: 820px) {
.pageTitle {
font-size: 24px;
margin-bottom: $spacing-md;
}
.tabBar {
margin-bottom: $spacing-md;
}
.tabItem {
padding: 10px 16px;
}
.content {
gap: $spacing-md;
}
.logCard {
padding: $spacing-md;
}
.logPanel {
height: 360px;
}
}