Fix arrow not transitioning out causing jumps when removing workflow blocks

This commit is contained in:
Andrew Kingston 2020-09-10 07:35:24 +01:00
parent 79703f697e
commit 4d118b6eed
1 changed files with 11 additions and 0 deletions

View File

@ -1,4 +1,9 @@
<script>
import { fade } from "svelte/transition"
</script>
<svg <svg
transition:fade
width="9" width="9"
height="75" height="75"
viewBox="0 0 9 75" viewBox="0 0 9 75"
@ -7,3 +12,9 @@
<path d="M5.0625 70H9L4.5 75L0 70H3.9375V65H5.0625V70Z" fill="#ADAEC4" /> <path d="M5.0625 70H9L4.5 75L0 70H3.9375V65H5.0625V70Z" fill="#ADAEC4" />
<rect x="4" width="1" height="65" fill="#ADAEC4" /> <rect x="4" width="1" height="65" fill="#ADAEC4" />
</svg> </svg>
<style>
svg {
margin: 8px 0;
}
</style>

Before

Width:  |  Height:  |  Size: 241 B

After

Width:  |  Height:  |  Size: 371 B