style(Style): change division method to prevent warnings

This commit is contained in:
Alexander Navarro 2024-03-14 12:06:26 -03:00
parent abc6660ac7
commit ebbf02d9aa

View file

@ -195,20 +195,20 @@
}
@for $i from 0 through 100 {
.w-#{$i} {
width: percentage($i / 100);
width: percentage(calc($i / 100));
}
.h-#{$i} {
height: percentage($i / 100);
height: percentage(calc($i / 100));
}
}
@include mixins.responsive-steps(0, 100) using ($size-name, $index) {
.w-#{$size-name}-#{$index} {
width: percentage($index / 100);
width: percentage(calc($index / 100));
}
.h-#{$size-name}-#{$index} {
height: percentage($index / 100);
height: percentage(calc($index / 100));
}
}