Skip to content

Commit 970049b

Browse files
committed
remove alt text overlay
1 parent 1d4c770 commit 970049b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/components/imageLightbox.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,6 @@ export function ImageLightbox({src, alt, width, height, children}: ImageLightbox
4949
priority
5050
/>
5151
</div>
52-
53-
{/* Image caption */}
54-
{alt && (
55-
<div className="absolute bottom-0 left-0 right-0 bg-black/75 p-4 text-center text-white">
56-
<p className="text-sm">{alt}</p>
57-
</div>
58-
)}
5952
</Dialog.Content>
6053
</Dialog.Portal>
6154
</Dialog.Root>

0 commit comments

Comments
 (0)