fix(core): add focus and focus-visible styles to nodes to avoid browser styles

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-01-07 19:31:57 +01:00
committed by Braks
parent c89c331436
commit 5258d263b0
2 changed files with 29 additions and 0 deletions
+15
View File
@@ -125,6 +125,21 @@
transform-origin: 0 0;
}
.vue-flow__node-default,
.vue-flow__node-input,
.vue-flow__node-output {
border-width: 1px;
border-style: solid;
border-color: #bbb;
&.selected,
&:focus,
&:focus-visible {
outline: none;
border: 1px solid #555;
}
}
.vue-flow__node {
position: absolute;
user-select: none;