Skip to content

Commit

Permalink
remove top padding from instagram stories
Browse files Browse the repository at this point in the history
  • Loading branch information
zaanposni committed Dec 1, 2024
1 parent 7c22c25 commit 8f611de
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,13 @@

<MediaQuery query="(min-width: 768px)" let:matches>
{#if active}
<div
class="max-w-screen absolute left-0 top-0 z-10 flex h-screen max-h-screen w-screen flex-col overflow-hidden bg-black pt-12 lg:pt-12">
<div class="max-w-screen absolute left-0 top-0 z-10 flex h-screen max-h-screen w-screen flex-col overflow-hidden bg-black lg:pt-12">
<div
class="story-container max-w-screen flex h-screen max-h-screen w-screen flex-col overflow-hidden lg:mx-auto lg:w-1/2"
class:pause={touchStartX}
on:touchstart={touchStartHandler}
on:touchend={touchEndHandler}>
<div class="max-w-screen lg:max-w-1/2 absolute top-12 z-10 w-screen lg:top-0 lg:w-1/2">
<div class="max-w-screen lg:max-w-1/2 absolute top-0 z-10 w-screen lg:w-1/2">
<div class="progress-container flex w-full max-w-full px-2 pt-4" bind:this={progressContainer}>
{#each stories as story, index}
{@const duration =
Expand Down

0 comments on commit 8f611de

Please sign in to comment.