From 2051ee67f20613e1ab038df88b455ceadebd3280 Mon Sep 17 00:00:00 2001 From: Mutasem Date: Tue, 29 Mar 2022 11:23:08 +0200 Subject: [PATCH] move items, fix positions --- packages/editor-ui/src/components/RunData.vue | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/packages/editor-ui/src/components/RunData.vue b/packages/editor-ui/src/components/RunData.vue index 3fe3ad6130..86d9ad648a 100644 --- a/packages/editor-ui/src/components/RunData.vue +++ b/packages/editor-ui/src/components/RunData.vue @@ -75,6 +75,12 @@ +
+ + {{ dataCount }} {{ $locale.baseText(dataCount === 1 ? 'node.output.item' : 'node.output.items') }} + +
+
@@ -112,10 +118,6 @@
- - {{ dataCount }} {{ $locale.baseText(dataCount === 1 ? 'node.output.item' : 'node.output.items') }} - - @@ -126,7 +128,7 @@
{{column}}
-
+
*:first-child { flex-grow: 1; @@ -712,16 +715,19 @@ export default mixins( .dataDisplay { position: absolute; bottom: 0; - top: 60px; - left: 16px; + top: 98px; + left: 0; + padding-left: var(--spacing-s); right: 0; overflow-y: auto; line-height: 1.5; word-break: normal; +} - > * { - margin-bottom: var(--spacing-s); - } +.jsonDisplay { + composes: dataDisplay; + background-color: var(--color-background-base); + padding-top: var(--spacing-s); } .table {