fix(svelte): center edge label

This commit is contained in:
moklick
2023-08-28 13:27:12 +02:00
parent 50c2e1f82e
commit 214d15ab2d
3 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@xyflow/svelte",
"version": "0.0.15",
"version": "0.0.16",
"description": "Svelte Flow - A highly customizable Svelte library for building node-based editors, workflow systems, diagrams and more.",
"keywords": [
"svelte",
+4
View File
@@ -1,3 +1,7 @@
/* this gets exported as style.css and can be used for the default theming */
@import '../../../system/src/styles/init.css';
@import '../../../system/src/styles/base.css';
.svelte-flow__edge-label {
text-align: center;
}
+4
View File
@@ -1,3 +1,7 @@
/* this gets exported as style.css and can be used for the default theming */
@import '../../../system/src/styles/init.css';
@import '../../../system/src/styles/style.css';
.svelte-flow__edge-label {
text-align: center;
}