style(Style): change division method to prevent warnings
This commit is contained in:
parent
abc6660ac7
commit
ebbf02d9aa
1 changed files with 4 additions and 4 deletions
|
|
@ -195,20 +195,20 @@
|
||||||
}
|
}
|
||||||
@for $i from 0 through 100 {
|
@for $i from 0 through 100 {
|
||||||
.w-#{$i} {
|
.w-#{$i} {
|
||||||
width: percentage($i / 100);
|
width: percentage(calc($i / 100));
|
||||||
}
|
}
|
||||||
.h-#{$i} {
|
.h-#{$i} {
|
||||||
height: percentage($i / 100);
|
height: percentage(calc($i / 100));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@include mixins.responsive-steps(0, 100) using ($size-name, $index) {
|
@include mixins.responsive-steps(0, 100) using ($size-name, $index) {
|
||||||
.w-#{$size-name}-#{$index} {
|
.w-#{$size-name}-#{$index} {
|
||||||
width: percentage($index / 100);
|
width: percentage(calc($index / 100));
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-#{$size-name}-#{$index} {
|
.h-#{$size-name}-#{$index} {
|
||||||
height: percentage($index / 100);
|
height: percentage(calc($index / 100));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue