From: Andy Cochran Date: Mon, 5 Dec 2016 04:08:25 +0000 (-0500) Subject: don't use a magic number in responsive embed ratio mixin X-Git-Tag: v6.3.0-rc2~8^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e03f23db45124467fe7fd4a939ed176ce261fb8a;p=thirdparty%2Ffoundation%2Ffoundation-sites.git don't use a magic number in responsive embed ratio mixin --- diff --git a/scss/components/_responsive-embed.scss b/scss/components/_responsive-embed.scss index f23596838..785476a66 100644 --- a/scss/components/_responsive-embed.scss +++ b/scss/components/_responsive-embed.scss @@ -28,7 +28,7 @@ $responsive-embed-ratios: ( /// Creates a responsive embed container. /// @param {List} $ratio [$responsive-embed-ratio] - Ratio to use for the container, formatted as `x by y`. -@mixin responsive-embed($ratio: 4 by 3) { +@mixin responsive-embed($ratio: map-get($responsive-embed-ratios,default)) { position: relative; height: 0; margin-bottom: $responsive-embed-margin-bottom;