stylesheets/toolkit/_intrinsic-ratio.scss in toolkit-1.3.1 vs stylesheets/toolkit/_intrinsic-ratio.scss in toolkit-1.3.2
- old
+ new
@@ -32,16 +32,16 @@
}
}
@mixin intrinsic-ratio-ratio($ratio: $intrinsic-ratio, $width: $intrinsic-ratio-width, $direction: $intrinsic-ratio-direction) {
padding-#{$direction}: (1 / $ratio) * $width;
+ width: $width;
}
@mixin intrinsic-ratio($ratio: $intrinsic-ratio, $width: $intrinsic-ratio-width, $elements: $intrinsic-ratio-elements, $extend: $intrinsic-ratio-extend, $direction: $intrinsic-ratio-direction) {
+ @include intrinsic-ratio-parent($extend);
@include intrinsic-ratio-ratio($ratio, $width, $direction);
- width: $width;
-
@each $element in $elements {
#{$element} {
@include intrinsic-ratio-child($extend);
}
\ No newline at end of file