Skip to content
This repository was archived by the owner on Feb 10, 2022. It is now read-only.

Commit d388791

Browse files
committed
Fixed #1249 by overwriting the box-sizing mixin to prevent the warning about it while compiling the Sass.
1 parent 24c5af7 commit d388791

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/shared/styles/_mixins.scss

+12
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,15 @@
3838
text-overflow: ellipsis;
3939
white-space: nowrap;
4040
}
41+
42+
43+
// >> Box sizing
44+
// ------------------------------------------------------
45+
46+
// The box-sizing mixin is deprecated by Bourbon library and will be removed in
47+
// the next major version release. We are still going to support older browsers
48+
// so to prevent Bourbon warnings the mixing is overriding here but without the
49+
// warn.
50+
@mixin box-sizing($box) {
51+
@include prefixer(box-sizing, $box, webkit moz spec);
52+
}

0 commit comments

Comments
 (0)