Skip to content

Commit

Permalink
Merge pull request #67 from sitcon-tw/fix/layout
Browse files Browse the repository at this point in the history
Fix mobile layout padding
  • Loading branch information
naruko-hstk authored Jan 20, 2025
2 parents 5f600c0 + 1ff0194 commit d1eb14f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion app/(website)/(pages)/_components/SponsorCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ export default function SponsorCard(brandObj: {
}}
>
<motion.div
initial={{ scale: 0.88, opacity: 0, y: 10, filter: "blur(0.35em)" }}
initial={{
scale: 0.88,
opacity: 0,
y: 10,
filter: "blur(0.35em)",
}}
animate={{ scale: 0.9, opacity: 1, y: 0, filter: "blur(0)" }}
exit={{ scale: 0.8, opacity: 0, y: 10, filter: "blur(0.3em)" }}
transition={{ duration: 0.25 }}
Expand Down
2 changes: 1 addition & 1 deletion app/(website)/(pages)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ReactNode } from "react";
export default function Layout({ children }: { children: ReactNode }) {
return (
<div className="flex w-full justify-center bg-background text-foreground">
<div className="flex w-full max-w-[90%] flex-col justify-center px-4 py-40 lg:max-w-[840px] desktop:max-w-[1120px]">
<div className="flex w-full max-w-[90%] flex-col justify-center px-4 py-20 lg:max-w-[840px] desktop:max-w-[1120px] desktop:py-40">
{children}
</div>
</div>
Expand Down

0 comments on commit d1eb14f

Please sign in to comment.