mdbootstrap / material-design-for-bootstrap

Important! A new UI Kit version for Bootstrap 5 is available. Access the latest free version via the link below.
https://mdbootstrap.com/docs/standard/
MIT License
9.34k stars 1.15k forks source link

Wrong inclusion of function within mixin #158

Closed cjmaxik closed 6 years ago

cjmaxik commented 6 years ago

You can't declare functions within mixins - it will throw an error "Functions may not be defined within control directives or other mixins".

https://github.com/sass/sass/issues/2470

https://github.com/mdbootstrap/bootstrap-material-design/blob/40ba6e276de09adcf8ddab56bd4a8cfde97cbf2a/scss/core/_mixins.scss#L215

MelonSmasher commented 6 years ago

Also getting this.

Martussky commented 6 years ago

Hi, we know this bug and in our next release, it will be fixed. Best, Marta

cjmaxik commented 6 years ago

Solved in 4.5.1