Skip to content

Commit

Permalink
speed up transition
Browse files Browse the repository at this point in the history
  • Loading branch information
bonartm committed Jul 12, 2021
1 parent 4f13bbe commit d5cf2ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Animated.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</script>

{#key update}
<div class="animated" in:fade="{{ duration: 600 }}">
<div class="animated" in:fade="{{ duration: 400 }}">
<slot />
</div>
{/key}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Hint.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</script>

{#if show}
<p in:fade|local="{{ duration: 600 }}" class="hint">
<p in:fade|local="{{ duration: 400 }}" class="hint">
💡 {@html hint}
</p>
{/if}

0 comments on commit d5cf2ac

Please sign in to comment.