Skip to content

Commit

Permalink
thumbnail style, cursor pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
Jord-Gui committed Jul 12, 2023
1 parent f07340a commit 78fb9f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/videoModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ export const VideoModal = ({ children = null, url }) => {
<div className="overflow-hidden rounded">
<div className="relative mx-auto aspect-video h-full w-full">
{!clicked ? (
<div className="h-full w-full " onClick={() => setClicked(true)}>
<div
className="h-full w-full cursor-pointer"
onClick={() => setClicked(true)}
>
<Image
src={imageSrc}
fill
Expand Down

0 comments on commit 78fb9f4

Please sign in to comment.