Explorar o código

Switch Trend color

afc163 %!s(int64=8) %!d(string=hai) anos
pai
achega
dc6b13b710
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      src/components/Trend/index.less

+ 4 - 2
src/components/Trend/index.less

@@ -11,7 +11,6 @@
   }
   .up,
   .down {
-    color: @green-6;
     margin-left: 4px;
     position: relative;
     top: 1px;
@@ -20,8 +19,11 @@
       transform: scale(0.83);
     }
   }
-  .down {
+  .up {
     color: @red-6;
+  }
+  .down {
+    color: @green-6;
     top: -1px;
   }