You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks for this incredible lib. Saved me lots of sleeping hours.
I'm using it to reduce some calc and use the values into some pseudo-selectors...
Unfortunately i think i probably found a bug.
I have a variable called $offset-calc, and after the postcss-calc runs its replaced to $offset-...
Here is an example of a mixin i made that uses it:
@define-mixin elements-last-row $wrapper-selector, $selector, $row-size, $offset: 0 {
/* last row, doesn't matter how many cells */
$offset-calc: calc($offset + 1);
$wrapper-selector:nth-last-child(-n + $row-size):nth-child($(row-size)n + $offset-calc), /* first element of the last row */
$wrapper-selector:nth-last-child(-n + $row-size):nth-child($(row-size)n + $offset-calc) ~ $selector { /* all its following elements */
@mixin-content;
}
}
The text was updated successfully, but these errors were encountered:
Hi,
First of all, thanks for this incredible lib. Saved me lots of sleeping hours.
I'm using it to reduce some
calc
and use the values into some pseudo-selectors...Unfortunately i think i probably found a bug.
I have a variable called
$offset-calc
, and after thepostcss-calc
runs its replaced to$offset-
...Here is an example of a mixin i made that uses it:
The text was updated successfully, but these errors were encountered: