Browse Source

fix🐛: 修复 This deprecation does not affect uses of / inside calc() expressions.的警告问题

zhangwenjian 2 năm trước cách đây
mục cha
commit
8a4234abda
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/styles/mixin.scss

+ 1 - 1
src/styles/mixin.scss

@@ -34,7 +34,7 @@
 }
 
 @mixin triangle($width, $height, $color, $direction) {
-  $width: $width/2;
+  $width: $width*0.5;
   $color-border-style: $height solid $color;
   $transparent-border-style: $width solid transparent;
   height: 0;