Skip to content

Commit d20954e

Browse files
committed
Fix SCSS span usage for .full
1 parent 590a59e commit d20954e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_sass/minimal-mistakes/_utilities.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,9 @@ body:hover .visually-hidden button {
186186

187187
.full {
188188
@include breakpoint($large) {
189-
margin-right: -1 * span(2.5 of 12) !important;
189+
// `span()` returns a `calc()` expression which cannot be multiplied.
190+
// Passing a negative value directly avoids the undefined operation error.
191+
margin-right: span(-2.5 of 12) !important;
190192
}
191193
}
192194

0 commit comments

Comments
 (0)