Skip to content

Commit

Permalink
padding adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
nahiyankhan committed Oct 16, 2024
1 parent 872b7b8 commit b81751b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ScrollUp.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Icon } from "astro-icon/components";
<div
x-data="{ show: false }"
@scroll.window="show = window.scrollY > 200"
class="container nk-transition sticky bottom-0 mx-auto my-4 flex justify-end px-2 sm:my-8"
class="container nk-transition sticky bottom-0 mx-auto my-4 flex justify-end px-2 sm:my-8 sm:px-0"
:style="$store.settings.open ? { transform: `translateX(-320px)` } : { transform: `translateX(0px)` }"
>
<div
Expand Down

0 comments on commit b81751b

Please sign in to comment.