1
0
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:
Chauncey McAskill
2024-01-29 15:17:50 -05:00
parent d5bff3ab50
commit 9e6d7ae182
2 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@
// // Logo // // Logo
// .svg-logo { // .svg-logo {
// --icon-width: #{rem(100px)}; // --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 // // Sizes
// .o-icon.-big & { // .o-icon.-big & {

View File

@@ -109,8 +109,8 @@ $context: 'frontend' !default;
// //
// ```scss // ```scss
// .c-box { // .c-box {
// width: grid-space(6/12); // width: grid-space(math.div(6, 12));
// margin-left: grid-space(1/12, 1); // margin-left: grid-space(math.div(1, 12), 1);
// } // }
// ``` // ```
// //