test(editor): Fix first project add button in closed sidebar (#14991)

This commit is contained in:
Csaba Tuncsik
2025-04-29 16:55:30 +02:00
committed by GitHub
parent 48f0c91a47
commit 598aa8e131
2 changed files with 15 additions and 1 deletions

View File

@@ -143,7 +143,7 @@ const showAddFirstProject = computed(
data-test-id="add-first-project-button"
@click="globalEntityCreation.createProject"
>
{{ locale.baseText('projects.menu.addFirstProject') }}
<span>{{ locale.baseText('projects.menu.addFirstProject') }}</span>
</N8nButton>
</N8nTooltip>
<hr v-if="projectsStore.isTeamProjectFeatureEnabled" class="mb-m" />
@@ -212,6 +212,7 @@ const showAddFirstProject = computed(
&.collapsed {
> span:last-child {
display: none;
margin: 0 var(--spacing-s) var(--spacing-m);
}
}
}