Ver código fonte

修复点击tag标签时,tag标志消失

胡耀汉 8 anos atrás
pai
commit
c9052d7cb9

Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
react/assets/app.bundle.js


+ 1 - 1
react/components/Calendar.js

@@ -256,7 +256,7 @@ const Calendar = React.createClass({
             if (tags.length > 0) {
                 for (let j = 0; j < tags.length; j++) {
                     if ((i + 1) === tags[j]) {
-                        currentClassName += 'item-tag';
+                        currentClassName += ' item-tag';
                         break;
                     }
                 }

+ 1 - 1
react/style/style.css

@@ -125,7 +125,7 @@ a {
     width: 8px;
     height: 8px;
     position: absolute;
-    bottom: 0;
+    bottom: -3px;
     left: 50%;
     -webkit-transform: translate3D(-50%, 70%, 0);
     -moz-transform: translate3D(-50%, 70%, 0);