Skip to content

Commit

Permalink
fix: home screen style, fix #16
Browse files Browse the repository at this point in the history
  • Loading branch information
Innei committed Apr 20, 2024
1 parent 3478e54 commit 78a59fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/(app)/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const Hero = () => {
return acc + (cur.text?.length || 0)
}, 0) * 50
return (
<div className="mt-20 h-dvh min-h-[800px] min-w-0 max-w-screen overflow-hidden lg:mt-[-4.5rem]">
<div className="mt-20 min-w-0 max-w-screen overflow-hidden lg:mt-[-4.5rem] lg:h-dvh lg:min-h-[800px]">
<TwoColumnLayout leftContainerClassName="mt-[120px] lg:mt-0 h-[15rem] lg:h-1/2">
<>
<m.div
Expand Down Expand Up @@ -180,7 +180,7 @@ const Hero = () => {
animate={{ opacity: 1, y: 0 }}
transition={softBouncePreset}
className={clsx(
'absolute inset-x-0 bottom-0 flex flex-col center',
'inset-x-0 bottom-0 mt-12 flex flex-col center lg:absolute lg:mt-0',

'text-neutral-800/80 center dark:text-neutral-200/80',
)}
Expand Down

0 comments on commit 78a59fa

Please sign in to comment.