Skip to content

Commit

Permalink
Add min height to carousel wrapper and add a gap above scroll icon
Browse files Browse the repository at this point in the history
  • Loading branch information
jayantbh committed Dec 11, 2023
1 parent a5d5a4e commit ab3afe4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,12 @@ export default function Home() {
)}
</div>
</div>
<MouseScrollAnim fontSize="1.4em" />
<div className="text-xs text-gray-400 mt-4">
How do I trust you with my data?{' '}
<span className="text-purple-400">Scroll down...</span>
<div className="flex flex-col mt-8">
<MouseScrollAnim fontSize="1.4em" />
<div className="text-xs text-gray-400 mt-4">
How do I trust you with my data?{' '}
<span className="text-purple-400">Scroll down...</span>
</div>
</div>
</div>
<div className="relative flex flex-col p-4 sm:p-6 md:p-8 lg:p-10 min-h-screen gap-2">
Expand Down
1 change: 1 addition & 0 deletions src/styles/swiper.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
margin-left: -16px;
display: flex;
align-items: center;
min-height: 60vh;
}

.swiper-container .swiper {
Expand Down

0 comments on commit ab3afe4

Please sign in to comment.