Some improvements (multi-tabs on same game seem fixed)
[vchess.git] / client / src / components / MoveList.vue
index b3ca667..c0a15df 100644 (file)
@@ -21,7 +21,7 @@ div
   #scoreInfo(v-if="score!='*'")
     p {{ score }}
     p {{ st.tr[message] }}
-  .moves-list
+  .moves-list(v-if="!['none','highlight'].includes(show)")
     .tr(v-for="moveIdx in evenNumbers")
       .td {{ firstNum + moveIdx / 2 + 1 }}
       .td(v-if="moveIdx < moves.length-1 || show == 'all'"
@@ -138,12 +138,12 @@ export default {
     border-bottom: 1px solid lightgrey
     & > .td
       float: left
-      padding: 2% 0 2% 1%
+      padding: 2% 0 2% 2%
       &:first-child
         color: grey
-        width: 15%
+        width: 13%
       &:not(first-child)
-        width: 41%
+        width: 40.5%
 
 @media screen and (max-width: 767px)
   .moves-list