Skip to content

Commit

Permalink
fix: overflow white space while playing animation
Browse files Browse the repository at this point in the history
  • Loading branch information
ThanaphomH committed Jan 20, 2024
1 parent ad684ed commit 1dcd112
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/contact/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import isdlogo from "../../assets/isd-logo.png";

<Layout title="Contact" description="Contact">
<main
class="min-h-screen w-full items-center justify-center bg-[#0F0F0F] px-[8%] py-7 lg:px-[3%] lg:py-12"
class="min-h-screen w-full overflow-hidden items-center justify-center bg-[#0F0F0F] px-[8%] py-7 lg:px-[3%] lg:py-12"
>
<p class="animate-sliding-left text-2xl font-bold text-white lg:text-4xl">
Contact
Expand All @@ -30,9 +30,9 @@ import isdlogo from "../../assets/isd-logo.png";
<p>Instagram</p>
</div>
<div
class="text-6xl font-bold tracking-[.64rem] text-white lg:text-8xl"
class="text-6xl font-bold tracking-[.64rem] text-white lg:text-8xl whitespace-pre-line"
>
Get In<br />Touch
{"Get In\nTouch"}
</div>
</div>
</div>
Expand Down

0 comments on commit 1dcd112

Please sign in to comment.