Skip to content

Commit 71f0fbd

Browse files
committed
fix(scss): remove use of math.div
1 parent 4fa80b4 commit 71f0fbd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

website/src/views/settings/ThemeOption.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@use "sass:math";
2-
31
@import '~styles/utils/modules-entry';
42

53
$theme-selected-bg-color: var(--gray-lighter);
@@ -30,7 +28,7 @@ $theme-option-gap: 0.7rem;
3028
$number-colors: 8;
3129

3230
.colorItem {
33-
$size: math.div(100%, $number-colors);
31+
$size: 12.5%; // 100% / $number-colors
3432

3533
display: inline-block;
3634
width: $size;

0 commit comments

Comments
 (0)