fix: changed state shape

default fitview
This commit is contained in:
Shariq Ansari 2023-05-10 15:14:52 +05:30
parent ab5570f447
commit c3e6d7c620
2 changed files with 3 additions and 3 deletions

View file

@ -279,7 +279,7 @@
store.workflow.selected = null;
}
onPaneReady(() => fitView({ padding: 0.4 }));
onPaneReady(() => fitView());
onMounted(() => store.fetch());
</script>
@ -323,7 +323,7 @@
</button>
<button
class="btn btn-sm btn-default"
@click="fitView({ padding: 0.4 })"
@click="fitView()"
>
Fit
</button>

View file

@ -58,7 +58,7 @@ watch(() => props.node.data, () => {
position: relative;
background-color: var(--fg-color);
font-weight: 500;
border-radius: 50%;
border-radius: var(--border-radius-full);
padding: 25px;
color: var(--gray-600);
border: 1px solid var(--gray-600);