From 998b63a35256ac985a5a2714dd1ca451af4dfd8a Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Wed, 9 Oct 2024 00:41:20 -0700
Subject: chore(prettier): use spaces instead of tabs

---
 src/lib/Layout/Popup.svelte | 98 ++++++++++++++++++++++-----------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

(limited to 'src/lib/Layout/Popup.svelte')

diff --git a/src/lib/Layout/Popup.svelte b/src/lib/Layout/Popup.svelte
index be55adf0..b82e86c2 100644
--- a/src/lib/Layout/Popup.svelte
+++ b/src/lib/Layout/Popup.svelte
@@ -1,59 +1,59 @@
 <script lang="ts">
-	import { browser } from '$app/environment';
-	import { onMount } from 'svelte';
-
-	export let onLeave = () => {
-		return;
-	};
-	export let card = true;
-	export let smallCard = false;
-	export let fullscreen = false;
-	export let show = true;
-	export let locked = false;
-	export let center = false;
-
-	const handleClickOutside = (event: any) => {
-		if (!locked && event.target.classList.contains('popup')) {
-			show = false;
-
-			onLeave();
-		}
-	};
-
-	onMount(() => {
-		if (browser) document.body.style.overflow = 'auto';
-	});
-
-	$: {
-		if (browser) {
-			document.body.style.overflow = 'auto';
-
-			if (show) document.body.style.overflow = 'hidden';
-			else document.body.style.overflow = 'auto';
-		}
-	}
+  import { browser } from '$app/environment';
+  import { onMount } from 'svelte';
+
+  export let onLeave = () => {
+    return;
+  };
+  export let card = true;
+  export let smallCard = false;
+  export let fullscreen = false;
+  export let show = true;
+  export let locked = false;
+  export let center = false;
+
+  const handleClickOutside = (event: any) => {
+    if (!locked && event.target.classList.contains('popup')) {
+      show = false;
+
+      onLeave();
+    }
+  };
+
+  onMount(() => {
+    if (browser) document.body.style.overflow = 'auto';
+  });
+
+  $: {
+    if (browser) {
+      document.body.style.overflow = 'auto';
+
+      if (show) document.body.style.overflow = 'hidden';
+      else document.body.style.overflow = 'auto';
+    }
+  }
 </script>
 
 <svelte:window on:click={handleClickOutside} />
 
 {#if show}
-	<div class={`popup ${fullscreen ? 'popup-fullscreen' : ''}`}>
-		<span
-			class={`${card ? `card ${smallCard ? 'card-small' : ''}` : ''} ${center ? 'centered' : ''}`}
-		>
-			<slot />
-		</span>
-	</div>
+  <div class={`popup ${fullscreen ? 'popup-fullscreen' : ''}`}>
+    <span
+      class={`${card ? `card ${smallCard ? 'card-small' : ''}` : ''} ${center ? 'centered' : ''}`}
+    >
+      <slot />
+    </span>
+  </div>
 {/if}
 
 <style>
-	.popup {
-		z-index: 3;
-	}
-
-	.centered {
-		display: flex;
-		justify-content: center;
-		align-items: center;
-	}
+  .popup {
+    z-index: 3;
+  }
+
+  .centered {
+    display: flex;
+    justify-content: center;
+    align-items: center;
+  }
 </style>
-- 
cgit v1.2.3

