Skip to content

Commit

Permalink
Merge pull request foundation#9595 from mheward/patch-1
Browse files Browse the repository at this point in the history
Update _responsive-embed.scss
  • Loading branch information
kball authored Jan 30, 2017
2 parents a0ea66b + 3bf1eb5 commit 8177055
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scss/components/_responsive-embed.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ $responsive-embed-ratios: (
widescreen: 16 by 9,
) !default;

// WARNING: Will be removed in version 6.4
$responsive-embed-ratio: default;

/// Creates a responsive embed container.
/// @param {String|List} $ratio [default] - Ratio of the container. Can be a key from the `$responsive-embed-ratios` map or a list formatted as `x by y`.
@mixin responsive-embed($ratio: default) {
Expand Down Expand Up @@ -63,5 +66,5 @@ $responsive-embed-ratios: (

@mixin flex-video($ratio: $responsive-embed-ratio) {
@warn 'This mixin is being replaced by responsive-embed(). flex-video() will be removed in Foundation 6.4.';
@include responsive-embed;
@include responsive-embed($ratio);
}

0 comments on commit 8177055

Please sign in to comment.