Why the mixin is not compiled?

Does not compile a simple mixin
@mixin portolio__row($number, $height)
.portfolio__row
&:nth-of-type($number)
 display: flex
 justify-content: center
 align-items: center
img
 max-height: $height

Error
Error: CSS parse error style.css: Number or identifier is expected
 156 | .portfolio .content .portfolio__row:nth-of-type($number) {

Cause:
.content
 @include portolio__row(2, 100)
June 10th 19 at 14:28
0 answer

Find more questions by tags Sass