X-Git-Url: https://git.auder.net/js/rpsls.js?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FMoveList.vue;h=c0a15dff6fe8be0eec3b4bc3f74f2dbc354d3fab;hb=57eb158fe8e37daaae11685df846003cda4aba19;hp=f41e7e2e0280d608808954b8fe0ed291082e4fe0;hpb=658c47bf5843fb0855659f22f7b1c38318c66ce5;p=vchess.git diff --git a/client/src/components/MoveList.vue b/client/src/components/MoveList.vue index f41e7e2e..c0a15dff 100644 --- a/client/src/components/MoveList.vue +++ b/client/src/components/MoveList.vue @@ -21,7 +21,7 @@ div #scoreInfo(v-if="score!='*'") p {{ score }} p {{ st.tr[message] }} - .moves-list(v-if="show != 'none'") + .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