|
8 | 8 | </div> |
9 | 9 |
|
10 | 10 | <div class="vue-flow-viewport"> |
11 | | - <div class="toggle-grid-button" @click="showGrid = !showGrid"> |
12 | | - # |
13 | | - </div> |
| 11 | + <div class="toggle-grid-button" @click="showGrid = !showGrid">#</div> |
14 | 12 |
|
15 | 13 | <VueFlow |
16 | 14 | v-model:nodes="projectStore.nodes" |
|
20 | 18 | :min-zoom="0.1" |
21 | 19 | :fit-view-on-init="true" |
22 | 20 | > |
23 | | - <Background |
24 | | - v-if="showGrid" |
25 | | - variant="lines" |
26 | | - :size="51" |
27 | | - :gap="51" |
28 | | - /> |
| 21 | + <Background v-if="showGrid" variant="lines" :size="51" :gap="51" /> |
29 | 22 | <div class="create-wrapper"> |
30 | 23 | <div v-if="showInput" class="floating-create-expanded"> |
31 | 24 | <button class="collapse-btn" @click="showInput = false"> |
@@ -87,7 +80,7 @@ import { useProjectStore } from "@/stores/useProjectStore" |
87 | 80 | import { VueFlow } from "@vue-flow/core" |
88 | 81 | import { useModalStore } from "@/stores/useModalStore" |
89 | 82 | import type { RelationalRelationField, RelationalField } from "@/types.types" |
90 | | -import { Background } from '@vue-flow/background' |
| 83 | +import { Background } from "@vue-flow/background" |
91 | 84 |
|
92 | 85 | const projectStore = useProjectStore() |
93 | 86 | const modalStore = useModalStore() |
@@ -188,7 +181,9 @@ const openEditRelationModal = (id: string, relation: RelationalRelationField) => |
188 | 181 | cursor: pointer; |
189 | 182 | z-index: 10; |
190 | 183 | box-shadow: 2px 2px 0px rgba(0, 0, 0, 1); |
191 | | - transition: transform 0.1s ease-out, box-shadow 0.1s; |
| 184 | + transition: |
| 185 | + transform 0.1s ease-out, |
| 186 | + box-shadow 0.1s; |
192 | 187 | } |
193 | 188 |
|
194 | 189 | .toggle-grid-button:hover { |
@@ -220,7 +215,9 @@ const openEditRelationModal = (id: string, relation: RelationalRelationField) => |
220 | 215 | font-weight: bold; |
221 | 216 | z-index: 10; |
222 | 217 | box-shadow: 2px 2px 0px rgba(0, 0, 0, 1); |
223 | | - transition: transform 0.1s ease-out, box-shadow 0.1s; |
| 218 | + transition: |
| 219 | + transform 0.1s ease-out, |
| 220 | + box-shadow 0.1s; |
224 | 221 | } |
225 | 222 |
|
226 | 223 | .create-circle:hover { |
|
0 commit comments