Explorar o código

refac: styling

Timothy Jaeryang Baek hai 3 meses
pai
achega
70aced7f58
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/lib/components/common/Sidebar.svelte

+ 1 - 2
src/lib/components/common/Sidebar.svelte

@@ -1,5 +1,4 @@
 <script lang="ts">
 <script lang="ts">
-	import { quadInOut, quintIn } from 'svelte/easing';
 	import { fade, slide } from 'svelte/transition';
 	import { fade, slide } from 'svelte/transition';
 
 
 	export let show = false;
 	export let show = false;
@@ -22,7 +21,7 @@
 
 
 	<div
 	<div
 		class="absolute z-30 shadow-xl {side === 'right' ? 'right-0' : 'left-0'} top-0 bottom-0"
 		class="absolute z-30 shadow-xl {side === 'right' ? 'right-0' : 'left-0'} top-0 bottom-0"
-		transition:slide={{ duration: duration, easing: quadInOut, axis: side === 'right' ? 'x' : 'y' }}
+		transition:slide={{ duration: duration, axis: side === 'right' ? 'x' : 'y' }}
 	>
 	>
 		<div class="{className} h-full" style="width: {show ? width : '0px'}">
 		<div class="{className} h-full" style="width: {show ? width : '0px'}">
 			<slot />
 			<slot />