projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes, improvements
[vchess.git]
/
client
/
src
/
components
/
MoveList.vue
diff --git
a/client/src/components/MoveList.vue
b/client/src/components/MoveList.vue
index
e3da8dd
..
0dede66
100644
(file)
--- a/
client/src/components/MoveList.vue
+++ b/
client/src/components/MoveList.vue
@@
-1,6
+1,5
@@
<script>
import { store } from "@/store";
<script>
import { store } from "@/store";
-// Component for moves list on the right
export default {
name: 'my-move-list',
props: ["moves","cursor","score","message","firstNum"],
export default {
name: 'my-move-list',
props: ["moves","cursor","score","message","firstNum"],
@@
-103,7
+102,7
@@
export default {
tableRow.children = moveCells;
tableContent.push(tableRow);
let rootElements = [];
tableRow.children = moveCells;
tableContent.push(tableRow);
let rootElements = [];
- if (this.score != "*")
+ if (
!!this.score &&
this.score != "*")
{
const scoreDiv = h("div",
{
{
const scoreDiv = h("div",
{
@@
-146,14
+145,6
@@
export default {
<style lang="sass" scoped>
.moves-list
min-width: 250px
<style lang="sass" scoped>
.moves-list
min-width: 250px
-@media screen and (max-width: 767px)
- .moves-list
- tr
- display: flex
- margin: 0
- padding: 0
- td
- text-align: left
td.highlight-lm
background-color: plum
</style>
td.highlight-lm
background-color: plum
</style>