Skip to content

Commit 100d7d6

Browse files
committed
chore: cleanup
1 parent 219292c commit 100d7d6

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/routes/[network]/(account)/swap/+page.svelte

+3-6
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,23 @@
1010
() => target,
1111
(entries) => {
1212
const entry = entries[0];
13-
if (!entry) console.log('no entry');
14-
console.log(entry);
13+
if (!entry) return;
1514
isIntersecting = entry.isIntersecting;
1615
},
1716
{ root: () => root }
1817
);
19-
20-
$inspect(isIntersecting);
2118
</script>
2219

2320
<article class="grid grid-cols-3 gap-12">
24-
<header class="col-span-3" bind:this={target}>
21+
<header class="col-span-full" bind:this={target}>
2522
<div class="h-56 rounded-lg bg-red-200"></div>
2623
</header>
2724
{#if !isIntersecting}
2825
<aside transition:fade={{ duration: 100 }} class="relative col-start-3 row-start-2">
2926
<div class="sticky top-8 h-48 rounded-lg bg-red-200"></div>
3027
</aside>
3128
{/if}
32-
<section class="prose prose-invert col-span-2 text-pretty">
29+
<section class="prose prose-invert col-span-full text-pretty md:col-span-2">
3330
<h2 class="h2 text-pretty leading-tight">
3431
EOS to Vaulta: A Major Rebrand Launching Web3 Banking
3532
</h2>

0 commit comments

Comments
 (0)