feat(svelte): cleanup styling, use css variables

This commit is contained in:
moklick
2023-06-06 19:44:39 +02:00
parent 32ddd6fac9
commit 98d9d3e51a
20 changed files with 190 additions and 101 deletions
@@ -9,7 +9,7 @@
{#if isVisible}
<div
class="svelte-flow__selection"
style={`width: ${width}px; height: ${height}px; transform: translate(${x}px, ${y}px)`}
style="width: {width}px; height: {height}px; transform: translate({x}px, {y}px)"
/>
{/if}