Page scroll padding on the bottom

This commit is contained in:
Realmy 2024-11-12 11:41:47 +01:00
parent d9f7bb5591
commit 3b4caddd7a
2 changed files with 4 additions and 3 deletions

View File

@ -104,7 +104,7 @@
</div> </div>
</div> </div>
<div <div
class="w-full max-w-screen-lg h-full grid grid-cols-1 grid-rows-1 relative pb-20" class="w-full max-w-screen-lg h-full grid grid-cols-1 grid-rows-1 relative"
> >
{#key data.pathname} {#key data.pathname}
<div class="w-full h-full"> <div class="w-full h-full">
@ -137,7 +137,9 @@
}, },
}} }}
> >
{@render children()} <div class="pb-20">
{@render children()}
</div>
</div> </div>
</div> </div>
{/key} {/key}

View File

@ -121,7 +121,6 @@
{/if} {/if}
</div> </div>
{/each} {/each}
<div class="w-full h-4 flex-shrink-0"></div>
</div> </div>
</div> </div>