Adapted and applied fix 378ebc08f63e3d0a591dd643d535006ee895f07d about extends/placeholders in SCSS. Related to #1123