Skip to content

Commit a82ab7c

Browse files
authored
Merge pull request #88 from codexsit/codex-website-team-component
fix: gallery overflow patch
2 parents a9c8686 + d4e87fe commit a82ab7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/Gallery/Gallery.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export default function Gallery() {
192192
<div className="fixed inset-0 flex items-center justify-center z-50 bg-black bg-opacity-75 overflow-y-auto">
193193
<div className="relative max-h-screen max-w-screen-lg p-4 bg-white rounded-lg flex flex-col items-center justify-center">
194194
<img
195-
className="max-h-[80vh] max-w-[80vw] rounded-lg mb-4"
195+
className="max-h-[80vh] rounded-lg mb-4"
196196
src={images[selectedImageIndex].src}
197197
alt={`Selected gallery img ${selectedImageIndex + 1}`}
198198
/>

0 commit comments

Comments
 (0)