mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-11 22:50:06 +00:00
fix(editor): Fix header on n8n Chat page (no-changelog) (#40737)
This commit is contained in:
+10
-1
@@ -23,11 +23,14 @@ function goBack(): void {
|
||||
<template>
|
||||
<div :class="[$style.page, { [$style.fill]: fill }]">
|
||||
<div :class="$style.topRow">
|
||||
<slot name="leading" />
|
||||
<button type="button" :class="$style.backLink" data-testid="n8n-chat-back" @click="goBack">
|
||||
<N8nIcon icon="arrow-left" size="small" />
|
||||
{{ i18n.baseText('generic.back') }}
|
||||
</button>
|
||||
<template v-if="$slots.leading">
|
||||
<span :class="$style.divider" aria-hidden="true" />
|
||||
<slot name="leading" />
|
||||
</template>
|
||||
</div>
|
||||
|
||||
<div :class="[$style.content, { [$style.fill]: fill }]">
|
||||
@@ -75,6 +78,12 @@ function goBack(): void {
|
||||
}
|
||||
}
|
||||
|
||||
.divider {
|
||||
width: var(--border-width);
|
||||
height: var(--spacing--sm);
|
||||
background-color: var(--color--foreground);
|
||||
}
|
||||
|
||||
.content {
|
||||
align-self: center;
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user