Skip to content

Commit 780b24a

Browse files
authored
fix: division warning in number-picker.scss (#1088)
1 parent 3d21ebd commit 780b24a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react-widgets/src/scss/number-picker.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
@use 'sass:math';
12
@use './variables.scss' as *;
23

34
@mixin NumberPicker() {
45
.rw-number-picker {
5-
$half-width: $input-height / 2;
6+
$half-width: math.div($input-height, 2);
67
}
78

89
.rw-number-picker-spinners {

0 commit comments

Comments
 (0)