diff --git a/.gitignore b/.gitignore
index 4064c60..36170a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
node_modules
-public/out
+public
diff --git a/src/App.svelte b/src/App.svelte
index 9bd7b94..208593f 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -1,9 +1,6 @@
{#if file_list}
- {#each thumb_list as thumb, i}
- open_lightbox(i)} src="{url.root}{url.thumb}{thumb}" />
- {/each}
+ {#each thumb_list as thumb, i}
+ open_lightbox(i)} src="{url.root}{url.thumb}{thumb}" />
+ {/each}
{/if}
diff --git a/src/lightbox.svelte b/src/lightbox.svelte
index b4d5aa7..74be78c 100644
--- a/src/lightbox.svelte
+++ b/src/lightbox.svelte
@@ -10,7 +10,8 @@
$: image = open !== null && open >= 0 ? set_images() : '';
$: is_open(open);
-
+
+ // This needs renamed
function is_open(i) {
if (should_open && i !== null && i >= 0) {
class_list += ' open'
@@ -85,7 +86,7 @@
width: 100vw;
height: 100vh;
opacity: 1;
- transition: opacity 1s;
+ transition: opacity 1s; /* This is being applied when we add `slide_classes' */
display: flex;
justify-content: center;
align-items: center;
@@ -96,7 +97,6 @@
background-color: rgba(0,0,0,0.7);
z-index: 0;
}
-