Open
Description
See this error from the latest Tagify.
Error: Invalid CSS after "... $size: math": expected expression (e.g. 1px, bold), was ".div(-$tagMargin, 2"
on line 267:32 of node_modules/@yaireo/tagify/src/tagify.scss
from line 23:1 of app/assets/stylesheets/application.scss
>> $size: math.div(-$tagMargin, 2);
Here's the offending section:
&::before{
$size: math.div(-$tagMargin, 2);
$size: -2px;
top:$size; right:$size; bottom:$size; left:$size;
box-shadow: 0 0 0 $tag-inset-shadow-size $tag-hover inset;
box-shadow: 0 0 0 var(--tag-inset-shadow-size, $tag-inset-shadow-size) var(--tag-hover, $tag-hover) inset;
// box-shadow: 0 0 0 0 $tag-remove inset
}
Whereas the npm sass (formerly dart-sass) package says it's valid.
Metadata
Assignees
Labels
No labels