Explorar el Código

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

zhangwenjian hace 3 años
padre
commit
8a4234abda
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;