Skip to content

Commit 5000b49

Browse files
committed
format
1 parent e91ba53 commit 5000b49

2 files changed

Lines changed: 10 additions & 14 deletions

File tree

frontend/src/components/schema_editor/CustomNode.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const closeNodeActions = () => {
8080
border-radius: 6px;
8181
width: 250px;
8282
overflow: hidden;
83-
background-color: white;
83+
background-color: white;
8484
}
8585
8686
.custom-node-header {
@@ -117,7 +117,6 @@ const closeNodeActions = () => {
117117
display: flex;
118118
flex-direction: column;
119119
cursor: pointer;
120-
121120
}
122121
123122
.custom-node-field-row {

frontend/src/components/schema_editor/SchemaEditor.vue

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
</div>
99

1010
<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>
1412

1513
<VueFlow
1614
v-model:nodes="projectStore.nodes"
@@ -20,12 +18,7 @@
2018
:min-zoom="0.1"
2119
:fit-view-on-init="true"
2220
>
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" />
2922
<div class="create-wrapper">
3023
<div v-if="showInput" class="floating-create-expanded">
3124
<button class="collapse-btn" @click="showInput = false">
@@ -87,7 +80,7 @@ import { useProjectStore } from "@/stores/useProjectStore"
8780
import { VueFlow } from "@vue-flow/core"
8881
import { useModalStore } from "@/stores/useModalStore"
8982
import type { RelationalRelationField, RelationalField } from "@/types.types"
90-
import { Background } from '@vue-flow/background'
83+
import { Background } from "@vue-flow/background"
9184
9285
const projectStore = useProjectStore()
9386
const modalStore = useModalStore()
@@ -188,7 +181,9 @@ const openEditRelationModal = (id: string, relation: RelationalRelationField) =>
188181
cursor: pointer;
189182
z-index: 10;
190183
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;
192187
}
193188
194189
.toggle-grid-button:hover {
@@ -220,7 +215,9 @@ const openEditRelationModal = (id: string, relation: RelationalRelationField) =>
220215
font-weight: bold;
221216
z-index: 10;
222217
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;
224221
}
225222
226223
.create-circle:hover {

0 commit comments

Comments
 (0)