minimize inline style usage

This commit is contained in:
peterkogo
2025-04-15 12:57:34 +02:00
parent 2ca682c6f2
commit 1fa3b50366
18 changed files with 65 additions and 91 deletions
@@ -107,8 +107,9 @@
<EdgeLabel
x={position?.x}
y={position?.y}
width={size}
height={size}
class={['svelte-flow__edgeupdater nopan', `svelte-flow__edgeupdater-${type}`, className]}
style={`width:${size}px; height:${size}px;` + style}
onpointerdown={onPointerDown}
transparent
{...rest}