From c44888ace542414d8a8addd5a0bd3211189b819e Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Sun, 26 Apr 2026 01:05:56 +0800 Subject: [PATCH] Constrain dashboard AI workspace scrolling --- .../components/dashboard/Dashboard.module.css | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/frontend/components/dashboard/Dashboard.module.css b/frontend/components/dashboard/Dashboard.module.css index 668526ec..bfd1ae06 100644 --- a/frontend/components/dashboard/Dashboard.module.css +++ b/frontend/components/dashboard/Dashboard.module.css @@ -9565,6 +9565,7 @@ flex-direction: column; flex: 1; min-height: 0; + overflow: hidden; } .root :global(.scan-list-header) { @@ -10922,13 +10923,26 @@ } .root :global(.scan-ai-workspace) { - min-height: 720px; + flex: 1; + min-height: 0; + max-height: 100%; + overflow-y: auto; + overscroll-behavior: contain; border: 1px solid rgba(77, 163, 255, 0.16); border-radius: 18px; background: #0b1220; padding: 18px; } +.root :global(.scan-ai-workspace::-webkit-scrollbar) { + width: 8px; +} + +.root :global(.scan-ai-workspace::-webkit-scrollbar-thumb) { + border-radius: 999px; + background: rgba(77, 163, 255, 0.28); +} + .root :global(.scan-ai-workspace.empty) { display: grid; place-items: center;