Fix undefined variable in and

This commit is contained in:
Julien Martins Da Costa
2017-03-22 16:14:35 -04:00
parent f32f111836
commit af01ff20ee
3 changed files with 4 additions and 891 deletions

View File

@@ -49,8 +49,8 @@ $data-ratio-crops: 'top' 'bottom' 'both' !default;
@each $ratio in $data-ratios {
$ratio-1: nth($ratio, 1);
$ratio-2: nth($ratio, 2);
&[data-ratio="#{$data-1}"]::before,
&[data-ratio="#{$data-2}"]::before {
&[data-ratio="#{$ratio-1}"]::before,
&[data-ratio="#{$ratio-2}"]::before {
padding-top: nth($ratio, 3);
}
}

View File

@@ -17,4 +17,4 @@
/// .u-2/3
$widths-fractions: 1 2 3 4 5 !default;
@include widths($width-fractions);
@include widths($widths-fractions);

File diff suppressed because one or more lines are too long