mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-29 15:57:00 +02:00
fix(editor): Fix edge button background color in dark mode in new canvas (no-changelog) (#10475)
This commit is contained in:
parent
9d8e574cc7
commit
b4aec594e4
|
|
@ -35,6 +35,7 @@ function onDelete() {
|
|||
<div :class="classes" data-test-id="canvas-edge-toolbar">
|
||||
<N8nIconButton
|
||||
v-if="isAddButtonVisible"
|
||||
class="canvas-edge-toolbar-button"
|
||||
data-test-id="add-connection-button"
|
||||
type="tertiary"
|
||||
size="small"
|
||||
|
|
@ -44,6 +45,7 @@ function onDelete() {
|
|||
/>
|
||||
<N8nIconButton
|
||||
data-test-id="delete-connection-button"
|
||||
class="canvas-edge-toolbar-button"
|
||||
type="tertiary"
|
||||
size="small"
|
||||
icon="trash"
|
||||
|
|
@ -62,3 +64,10 @@ function onDelete() {
|
|||
pointer-events: all;
|
||||
}
|
||||
</style>
|
||||
|
||||
<style lang="scss">
|
||||
[data-theme='dark'] .canvas-edge-toolbar-button {
|
||||
--button-background-color: var(--color-background-base);
|
||||
--button-hover-background-color: var(--color-background-light);
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user