Skip to content

Commit

Permalink
Added responsive support for YouTube iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
omalk98 committed Oct 21, 2023
1 parent fbd5faa commit 1e47493
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/Video/video.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,8 @@
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}

.youtube iframe {
width: 100%;
aspect-ratio: 16/9;
}

0 comments on commit 1e47493

Please sign in to comment.