Constrain dashboard AI workspace scrolling

This commit is contained in:
2569718930@qq.com
2026-04-26 01:05:56 +08:00
parent 90fcb96fa7
commit c44888ace5
@@ -9565,6 +9565,7 @@
flex-direction: column; flex-direction: column;
flex: 1; flex: 1;
min-height: 0; min-height: 0;
overflow: hidden;
} }
.root :global(.scan-list-header) { .root :global(.scan-list-header) {
@@ -10922,13 +10923,26 @@
} }
.root :global(.scan-ai-workspace) { .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: 1px solid rgba(77, 163, 255, 0.16);
border-radius: 18px; border-radius: 18px;
background: #0b1220; background: #0b1220;
padding: 18px; 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) { .root :global(.scan-ai-workspace.empty) {
display: grid; display: grid;
place-items: center; place-items: center;