]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
removed padding-top from flex video to fix video cropping issue fixed #7184
authorMandi Saeteun <mandi@zurb.com>
Wed, 16 Dec 2015 17:34:30 +0000 (09:34 -0800)
committerMandi Saeteun <mandi@zurb.com>
Wed, 16 Dec 2015 17:34:30 +0000 (09:34 -0800)
scss/components/_flex-video.scss

index 67d09ea9cc40ba8804f7cc2fe169f5533e43f9eb..71cce1258018be45f9422d2007285d6ba00e5e47 100644 (file)
@@ -6,10 +6,6 @@
 /// @group flex-video
 ////
 
-/// Padding above a flex video container.
-/// @type Number
-$flexvideo-padding-top: rem-calc(25) !default;
-
 /// Margin below a flex video container.
 /// @type Number
 $flexvideo-margin-bottom: rem-calc(16) !default;
@@ -36,7 +32,6 @@ $flexvideo-ratio-widescreen: 16 by 9 !default;
 @mixin flex-video($ratio: $flexvideo-ratio) {
   position: relative;
   height: 0;
-  padding-top: $flexvideo-padding-top;
   padding-bottom: flex-video($ratio);
   margin-bottom: $flexvideo-margin-bottom;
   overflow: hidden;