Skip to content

Commit d510a89

Browse files
committed
fix: check 0px instead of 0 in even-px
1 parent f1712f3 commit d510a89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/styles/_searchbox.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
$value: math.div($value * 16, 100%) * 1px;
1313
}
1414
$value: round($value);
15-
@if ($value % 2 != 0) {
15+
@if ($value % 2 != 0px) {
1616
$value: $value + 1;
1717
}
1818
@return $value;

0 commit comments

Comments
 (0)