mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
fix(editor): Make sure deactivated status shows even for nodes with long names on new canvas (no-changelog) (#11142)
This commit is contained in:
parent
6522b1cc44
commit
2343634c64
|
@ -126,7 +126,9 @@ function openContextMenu(event: MouseEvent) {
|
|||
<div :class="$style.description">
|
||||
<div v-if="label" :class="$style.label">
|
||||
{{ label }}
|
||||
<div v-if="isDisabled">({{ i18n.baseText('node.disabled') }})</div>
|
||||
</div>
|
||||
<div v-if="isDisabled" :class="$style.disabledLabel">
|
||||
({{ i18n.baseText('node.disabled') }})
|
||||
</div>
|
||||
<div v-if="subtitle" :class="$style.subtitle">{{ subtitle }}</div>
|
||||
</div>
|
||||
|
@ -265,7 +267,8 @@ function openContextMenu(event: MouseEvent) {
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
.label {
|
||||
.label,
|
||||
.disabledLabel {
|
||||
font-size: var(--font-size-m);
|
||||
text-align: center;
|
||||
text-overflow: ellipsis;
|
||||
|
|
|
@ -17,9 +17,9 @@ exports[`CanvasNodeDefault > configurable > should render configurable node corr
|
|||
<div
|
||||
class="label"
|
||||
>
|
||||
Test Node
|
||||
<!--v-if-->
|
||||
Test Node
|
||||
</div>
|
||||
<!--v-if-->
|
||||
<div
|
||||
class="subtitle"
|
||||
>
|
||||
|
@ -46,9 +46,9 @@ exports[`CanvasNodeDefault > configuration > should render configurable configur
|
|||
<div
|
||||
class="label"
|
||||
>
|
||||
Test Node
|
||||
<!--v-if-->
|
||||
Test Node
|
||||
</div>
|
||||
<!--v-if-->
|
||||
<div
|
||||
class="subtitle"
|
||||
>
|
||||
|
@ -75,9 +75,9 @@ exports[`CanvasNodeDefault > configuration > should render configuration node co
|
|||
<div
|
||||
class="label"
|
||||
>
|
||||
Test Node
|
||||
<!--v-if-->
|
||||
Test Node
|
||||
</div>
|
||||
<!--v-if-->
|
||||
<div
|
||||
class="subtitle"
|
||||
>
|
||||
|
@ -104,9 +104,9 @@ exports[`CanvasNodeDefault > should render node correctly 1`] = `
|
|||
<div
|
||||
class="label"
|
||||
>
|
||||
Test Node
|
||||
<!--v-if-->
|
||||
Test Node
|
||||
</div>
|
||||
<!--v-if-->
|
||||
<div
|
||||
class="subtitle"
|
||||
>
|
||||
|
@ -156,9 +156,9 @@ exports[`CanvasNodeDefault > trigger > should render trigger node correctly 1`]
|
|||
<div
|
||||
class="label"
|
||||
>
|
||||
Test Node
|
||||
<!--v-if-->
|
||||
Test Node
|
||||
</div>
|
||||
<!--v-if-->
|
||||
<div
|
||||
class="subtitle"
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue