Skip to content

Commit 1c2c6fd

Browse files
Merge pull request #1 from vikas-kumar-git/vikas-fix-image-overflow
fix(home.js): resolve image overflow causing scrollbar by adding Tailwind css class
2 parents d856731 + 9d48272 commit 1c2c6fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/pages/Home.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const Home = () => {
7979
)}
8080
</div>
8181
<div className="h-full bg-secondary w-2/4 sm:flex hidden items-center justify-center px-4">
82-
<img src="/landing page image.jpg" className="h-auto rounded-full w-auto object-cover" />
82+
<img src="/landing page image.jpg" className="max-h-[90vh] rounded-full w-auto object-cover" />
8383
</div>
8484
</div>
8585
</div>

0 commit comments

Comments
 (0)