Skip to content

Commit 85e6aae

Browse files
authored
fix: control panel scroll (#311)
1 parent 8546b51 commit 85e6aae

File tree

1 file changed

+4
-3
lines changed
  • infrastructure/control-panel/src/routes/monitoring

1 file changed

+4
-3
lines changed

infrastructure/control-panel/src/routes/monitoring/+page.svelte

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -657,9 +657,10 @@
657657

658658
<!-- Flow Messages Panel -->
659659
<div
660-
class="flex h-full w-[40%] cursor-default flex-col bg-white p-4 transition-colors hover:bg-gray-50"
660+
class="flex w-[40%] cursor-default flex-col bg-white p-4 transition-colors hover:bg-gray-50"
661+
style="height: calc(100vh - 80px);"
661662
>
662-
<div class="mb-4">
663+
<div class="mb-4 flex-shrink-0">
663664
<h3 class="text-lg font-semibold text-gray-800">Data Flow</h3>
664665
<div class="mt-2 text-sm text-gray-600">
665666
Current Step: {currentFlowStep === 0
@@ -678,7 +679,7 @@
678679
</div>
679680
</div>
680681

681-
<div class="flex-1 space-y-2 overflow-y-auto">
682+
<div class="flex-1 space-y-2 overflow-y-auto pr-2">
682683
{#each flowMessages as message, i}
683684
<div class="rounded bg-gray-50 p-2 font-mono text-sm">
684685
{message}

0 commit comments

Comments
 (0)