Skip to content

Commit

Permalink
Comment edit
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardo-rodriguez committed Sep 26, 2022
1 parent 2572637 commit f6804a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/utilities/aspect-ratio/aspect-ratio.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ $aspect-ratio-map: meta.module-variables('aspect-ratio');
object-fit: cover;

/**
* 1. Fixes a Safari bug where a playing video embedded via an iframe gets
* 1. Helps the iframe to fill the aspect ratio space.
* 2. Fixes a Safari bug where a playing video embedded via an iframe gets
* incorrectly shifted causing part of the video to not be visible.
* 2. Allows the iframe to fill the aspect ratio space.
*/

&:where(iframe) {
block-size: auto; /* 2 */
object-fit: unset; /* 1 */
block-size: auto; /* 1 */
object-fit: unset; /* 2 */
}
}
}
Expand Down

0 comments on commit f6804a3

Please sign in to comment.