Skip to content

Commit 619d5d4

Browse files
committed
max height for saga initialized state
1 parent 31b0c15 commit 619d5d4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Frontend/src/components/messages2/SagaDiagram/SagaUpdateNode.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ const hasStateChanges = computed(() => {
198198
</div>
199199

200200
<!-- Initial state display -->
201-
<div v-else-if="update.IsFirstNode" class="json-container">
201+
<div v-else-if="update.IsFirstNode" class="json-container json-container--first-node">
202202
<CodeEditor :model-value="sagaUpdateStateChanges.formattedState || ''" language="json" :showCopyToClipboard="false" :showGutter="false" :extensions="[monospaceTheme]" />
203203
</div>
204204

@@ -423,6 +423,11 @@ const hasStateChanges = computed(() => {
423423
background-color: transparent;
424424
}
425425
426+
.json-container--first-node {
427+
max-height: 300px;
428+
overflow: auto;
429+
}
430+
426431
/* Override CodeEditor wrapper styles */
427432
.json-container :deep(.wrapper) {
428433
border-radius: 0;

0 commit comments

Comments
 (0)