mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(editor): Data in input/output panel incorrectly mapped (#14878)
This commit is contained in:
@@ -17,10 +17,12 @@ interface TabOptions {
|
||||
interface TabsProps {
|
||||
modelValue?: Value;
|
||||
options?: TabOptions[];
|
||||
size?: 'small' | 'medium';
|
||||
}
|
||||
|
||||
withDefaults(defineProps<TabsProps>(), {
|
||||
options: () => [],
|
||||
size: 'medium',
|
||||
});
|
||||
|
||||
const scrollPosition = ref(0);
|
||||
@@ -74,7 +76,7 @@ const scrollRight = () => scroll(50);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div :class="['n8n-tabs', $style.container]">
|
||||
<div :class="['n8n-tabs', $style.container, size === 'small' ? $style.small : '']">
|
||||
<div v-if="scrollPosition > 0" :class="$style.back" @click="scrollLeft">
|
||||
<N8nIcon icon="chevron-left" size="small" />
|
||||
</div>
|
||||
@@ -172,6 +174,10 @@ const scrollRight = () => scroll(50);
|
||||
span + span {
|
||||
margin-left: var(--spacing-4xs);
|
||||
}
|
||||
|
||||
.small & {
|
||||
font-size: var(--font-size-2xs);
|
||||
}
|
||||
}
|
||||
|
||||
.activeTab {
|
||||
|
||||
Reference in New Issue
Block a user