fix(logs): make log panel natively resizable

This commit is contained in:
xwil1
2026-04-27 11:07:49 +08:00
Unverified
parent 3a30fb8252
commit b4d5ffad8c
+15 -9
View File
@@ -318,22 +318,26 @@
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: $radius-md;
flex: 1 1 auto;
min-height: 280px;
max-height: calc(100vh - 320px);
flex: 1 0 auto;
min-height: 420px;
max-height: none;
height: max(420px, calc(100vh - 520px));
overflow: auto;
resize: vertical;
position: relative;
-webkit-overflow-scrolling: touch;
touch-action: pan-y;
overscroll-behavior: contain;
@include tablet {
min-height: 240px;
max-height: calc(100vh - 300px);
min-height: 360px;
height: max(360px, calc(100vh - 500px));
max-height: none;
}
@include mobile {
min-height: 360px;
height: 420px;
max-height: 480px;
flex: 0 0 auto;
overflow: auto;
@@ -784,8 +788,9 @@
}
.logPanel {
min-height: 200px;
max-height: calc(100vh - 280px);
min-height: 420px;
height: max(420px, calc(100vh - 460px));
max-height: none;
}
.logRow {
@@ -827,8 +832,9 @@
}
.logPanel {
min-height: 160px;
max-height: calc(100vh - 220px);
min-height: 320px;
height: 320px;
max-height: none;
}
.logRow {