Skip to content

Commit 66da0fc

Browse files
committed
fix: remove extra padding in nav
1 parent e1105b7 commit 66da0fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/test.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import "../styles/global.css";
4747
</div>
4848

4949

50-
<!-- Red blob with horizontal parallax effect - positioned directly in the header -->'
50+
<!-- Red blob with horizontal parallax effect - positioned directly in the header -->
5151
<div class="absolute top-0 bottom-0 left-0 right-0">
5252
<div class="max-w-[68rem] mx-auto h-full flex justify-end items-end ">
5353
<img src="/images/example.png" class=" select-none h-[67%] sm:h-[87%]" x-bind:style="'transform: translateY(' + scrollPosition * 0.67 + 'px)'"/>
@@ -56,7 +56,7 @@ import "../styles/global.css";
5656

5757
<!-- Navigation Bar with transparent background -->
5858
<div class="relative z-10 flex justify-center text-white px-8 sm:px-20">
59-
<nav class="flex justify-between items-center py-6 w-full max-w-screen-md">
59+
<nav class="flex justify-between items-center pt-6 w-full max-w-screen-md">
6060
<div class="text-2xl font-bold">LOGO</div>
6161

6262
<!-- Desktop Navigation -->

0 commit comments

Comments
 (0)