소스 검색

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

胡耀汉 9 년 전
부모
커밋
c9052d7cb9
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      react/assets/app.bundle.js
  2. 1 1
      react/components/Calendar.js
  3. 1 1
      react/style/style.css

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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);