Skip to content

Commit

Permalink
fix: stop the word "unstoppable" from cutting of in hero section
Browse files Browse the repository at this point in the history
  • Loading branch information
flagg2 committed Jun 18, 2024
1 parent 34ae087 commit 76636d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/sections/hero/section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function HeroSectionContent() {
}, [index, texts]);

return (
<div className="flex flex-col justify-center items-center mx-auto ~pt-[10.5rem]/[15.938rem] pb-[13.438rem] lg:pb-[11.625rem] gap-8">
<div className="flex flex-col justify-center items-center mx-auto ~pt-[10.5rem]/[15.938rem] pb-[13.438rem] lg:pb-[11.625rem] gap-8 w-full">
<motion.section
className="font-gazpacho w-full"
variants={staggerChildren()}
Expand All @@ -110,7 +110,7 @@ function HeroSectionContent() {
<span className="block mx-auto ~text-[2.5rem]/[3rem] text-purple text-center italic ~leading-[3.969rem]/[4.76rem] lg:w-[430px]">
<LetterByLetter>made</LetterByLetter>
</span>
<span className="block ~text-[4.375rem]/[5.315rem] text-purple text-center font-medium justify-self-end ~leading-[3.969rem]/[4.76rem] relative h-[1em] lg:w-[550px]">
<span className="block ~text-[4.375rem]/[5.315rem] text-purple text-center font-medium justify-self-end ~leading-[3.969rem]/[4.76rem] relative h-[1em] w-full">
{intervalStarted ? (
<AnimatePresence initial={false} mode="sync">
<LastWord key={index} />
Expand Down

0 comments on commit 76636d2

Please sign in to comment.