Skip to content

Commit

Permalink
fix: bug_147 clicking on the video card image (#771)
Browse files Browse the repository at this point in the history
  • Loading branch information
Olenka-Yurchuk authored Aug 18, 2022
1 parent e890028 commit f170ca8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const VideoPostPreviewCard: React.FC<IPostPreviewCardProps> = ({
<Box className={classes.play} data-testid="videoIcon" />
)}
<iframe
style={{ pointerEvents: post.videoUrl ? 'inherit' : 'none' }}
src={url}
width="100%"
height="100%"
Expand Down

0 comments on commit f170ca8

Please sign in to comment.