From a790060b873259a736e992785b187794c353fb6f Mon Sep 17 00:00:00 2001 From: developer Date: Sat, 4 Apr 2026 22:51:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=9F=A5=E8=AF=86?= =?UTF-8?q?=E5=BA=93=E5=BC=B9=E6=A1=86=E5=B8=83=E5=B1=80=E9=94=99=E4=BD=8D?= =?UTF-8?q?=EF=BC=8C=E6=B7=BB=E5=8A=A0=20flex=20=E7=BA=A6=E6=9D=9F?= =?UTF-8?q?=E5=92=8C=E6=BA=A2=E5=87=BA=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/style.css | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index d698550..9b05445 100644 --- a/css/style.css +++ b/css/style.css @@ -1718,20 +1718,32 @@ body::before { .modal-lg { max-width: 780px; width: 95vw; + max-height: 85vh; +} + +#kbModal .modal-body { + padding: 16px 20px; + overflow: hidden; + display: flex; + flex-direction: column; } .kb-layout { display: flex; gap: 16px; - min-height: 400px; + flex: 1; + min-height: 0; + overflow: hidden; } .kb-sidebar { - width: 260px; + width: 240px; flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; + min-height: 0; + overflow: hidden; } .kb-new-collection { @@ -1751,6 +1763,7 @@ body::before { display: flex; flex-direction: column; gap: 4px; + min-height: 0; } .kb-collection-item { @@ -1803,6 +1816,8 @@ body::before { flex-direction: column; gap: 10px; min-width: 0; + min-height: 0; + overflow: hidden; } .kb-toolbar { @@ -1861,6 +1876,7 @@ body::before { display: flex; flex-direction: column; gap: 4px; + min-height: 0; } .kb-doc-item { @@ -1919,5 +1935,12 @@ body::before { } .kb-sidebar { width: 100%; + max-height: 180px; + } + .kb-main { + min-height: 200px; + } + .modal-lg { + max-height: 90vh; } }