chore(docs): update save and restore example

This commit is contained in:
braks
2024-06-09 14:52:26 +02:00
parent 6ee31708ab
commit 5e953bdb44
8 changed files with 77 additions and 27 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ defineProps(['name'])
<template>
<svg v-if="name === '+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path fill="currentColor" d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z" />
<path fill="currentColor" d="M11 13H5v-2h6V5h2v6h6v2h-6v6h-2z" />
</svg>
<svg v-else-if="name === '-'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
+4 -4
View File
@@ -57,7 +57,7 @@
}
.vue-flow__node-operator.selected {
box-shadow: 0 0 0 2px #0EA5E9;
box-shadow: 0 0 0 2px #2563eb;
}
.vue-flow__node-operator .buttons {
@@ -86,12 +86,12 @@
}
.vue-flow__node-operator button:hover {
background-color: #0EA5E9;
background-color: #2563eb;
transition: background-color 0.2s;
}
.vue-flow__node-operator button.selected {
background-color: #0EA5E9;
background-color: #2563eb;
}
.vue-flow__node-operator .vue-flow__handle[data-handleid="target-a"] {
@@ -103,7 +103,7 @@
}
.vue-flow__node-operator .vue-flow__handle {
background-color: #0EA5E9;
background-color: #2563eb;
}
.vue-flow__node-result {