File tree 1 file changed +3
-6
lines changed
src/routes/[network]/(account)/swap
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 10
10
() => target ,
11
11
(entries ) => {
12
12
const entry = entries [0 ];
13
- if (! entry ) console .log (' no entry' );
14
- console .log (entry );
13
+ if (! entry ) return ;
15
14
isIntersecting = entry .isIntersecting ;
16
15
},
17
16
{ root : () => root }
18
17
);
19
-
20
- $inspect (isIntersecting );
21
18
</script >
22
19
23
20
<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 }>
25
22
<div class =" h-56 rounded-lg bg-red-200" ></div >
26
23
</header >
27
24
{#if ! isIntersecting }
28
25
<aside transition:fade ={{ duration : 100 }} class =" relative col-start-3 row-start-2" >
29
26
<div class =" sticky top-8 h-48 rounded-lg bg-red-200" ></div >
30
27
</aside >
31
28
{/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 " >
33
30
<h2 class =" h2 text-pretty leading-tight" >
34
31
EOS to Vaulta: A Major Rebrand Launching Web3 Banking
35
32
</h2 >
You can’t perform that action at this time.
0 commit comments