We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a633b0 commit 0ca936dCopy full SHA for 0ca936d
src/effects.js
@@ -540,6 +540,7 @@ function genFx( type, includeWidth ) {
540
541
// if we include width, step value is 1 to do all cssExpand values,
542
// if we don't include width, step value is 2 to skip over Left and Right
543
+ includeWidth = includeWidth? 1 : 0;
544
for( ; i < 4 ; i += 2 - includeWidth ) {
545
which = cssExpand[ i ];
546
attrs[ "margin" + which ] = attrs[ "padding" + which ] = type;
0 commit comments