Bug in mixin.scss

1 reply · opened Nov 25, 2016

RRNFNov 25, 2016

There is an error on mixin.scss.
It would be nice to fix it on next release.

gulp-notify: [Error running Gulp] Error: assets\sass\canvas\header.scss
Error: parameter $val provided more than once in call to Mixin translate3d
on line 1065 of assets/sass/canvas/header.scss

 @include translate3d(0,0,0);

------------------------^

SSemicolon WebSTAFFNov 27, 2016

Hello,

We Really Apologize about the Inconveniences caused! Please find the following code in the sass/mixins.scss File:

translate3d($val,$val,$val) {
	-webkit-transform: translate3d($val, $val, $val);
	-ms-transform: translate3d($val, $val, $val);
	-o-transform: translate3d($val, $val, $val);
	transform: translate3d($val, $val, $val);
}

and replace it with:

translate3d($val,$val2,$val3) {
	-webkit-transform: translate3d($val, $val2, $val3);
	-ms-transform: translate3d($val, $val2, $val3);
	-o-transform: translate3d($val, $val2, $val3);
	transform: translate3d($val, $val2, $val3);
}

This will definitely fix the issue. Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard