mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: remove transition from wizard
This commit is contained in:
1 parent
57f151ffc1
commit
0d56abce17
1 file changed
+1
-6
@@ -1,15 +1,10 @@
|
||||
<script lang="ts">
|
||||
import { createEventDispatcher } from 'svelte';
|
||||
import { fly, type FlyParams } from 'svelte/transition';
|
||||
|
||||
export let show = false;
|
||||
export let title: string;
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
const transitionFly: FlyParams = {
|
||||
duration: 150,
|
||||
y: 50
|
||||
};
|
||||
|
||||
const handleKeydown = (event: KeyboardEvent) => {
|
||||
if (event.key === 'Escape') {
|
||||
@@ -27,7 +22,7 @@
|
||||
<svelte:window on:keydown={handleKeydown} />
|
||||
|
||||
{#if show}
|
||||
<section class="wizard" transition:fly={transitionFly}>
|
||||
<section class="wizard">
|
||||
<div class="wizard-header-strip" />
|
||||
<div class="wizard-start-bg" />
|
||||
<div class="wizard-end-bg" />
|
||||
|
||||
Reference in new issue
Block a user