From 3d2b3a763f860d810c16a04bbbf3cdf426f6f6de Mon Sep 17 00:00:00 2001 From: xwil1 <274959179+xwil1@users.noreply.github.com> Date: Mon, 27 Apr 2026 11:19:13 +0800 Subject: [PATCH] fix(logs): simplify native resize styles --- src/pages/LogsPage.module.scss | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/pages/LogsPage.module.scss b/src/pages/LogsPage.module.scss index 51529b1..65f1943 100644 --- a/src/pages/LogsPage.module.scss +++ b/src/pages/LogsPage.module.scss @@ -318,10 +318,10 @@ background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: $radius-md; - flex: 1 0 auto; + flex: 0 0 auto; min-height: 420px; max-height: none; - height: max(420px, calc(100vh - 520px)); + height: calc(100vh - 520px); overflow: auto; resize: vertical; position: relative; @@ -331,7 +331,7 @@ @include tablet { min-height: 360px; - height: max(360px, calc(100vh - 500px)); + height: calc(100vh - 500px); max-height: none; } @@ -340,7 +340,6 @@ height: 420px; max-height: 480px; flex: 0 0 auto; - overflow: auto; } } @@ -787,12 +786,6 @@ padding: $spacing-md; } - .logPanel { - min-height: 420px; - height: max(420px, calc(100vh - 460px)); - max-height: none; - } - .logRow { padding: 8px 10px; font-size: 12px;