mirror of
https://github.com/locomotivemtl/locomotive-boilerplate.git
synced 2026-01-15 00:55:08 +08:00
Replace deprecated divisions in Sass
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
// // Logo
|
||||
// .svg-logo {
|
||||
// --icon-width: #{rem(100px)};
|
||||
// --icon-ratio: 20/30; // width/height based on svg viewBox
|
||||
// --icon-ratio: math.div(20, 30); // width/height based on svg viewBox
|
||||
|
||||
// // Sizes
|
||||
// .o-icon.-big & {
|
||||
|
||||
@@ -109,8 +109,8 @@ $context: 'frontend' !default;
|
||||
//
|
||||
// ```scss
|
||||
// .c-box {
|
||||
// width: grid-space(6/12);
|
||||
// margin-left: grid-space(1/12, 1);
|
||||
// width: grid-space(math.div(6, 12));
|
||||
// margin-left: grid-space(math.div(1, 12), 1);
|
||||
// }
|
||||
// ```
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user