fixes, adjustments
[vchess.git] / client / src / components / MoveList.vue
index cebbff4..987329c 100644 (file)
@@ -6,8 +6,6 @@ export default {
        render(h) {
                if (this.moves.length == 0)
                        return;
-               if (this.moves[0].color == "b")
-                       this.moves.unshift({color: "w", notation: "..."});
                let tableContent = [];
                let moveCounter = 0;
                let tableRow = undefined;
@@ -72,7 +70,11 @@ export default {
       { },
       [h(
                          "table",
-                         { },
+                         {
+          "class": {
+            "moves-list": true,
+          },
+        },
                          tableContent
                  )]
     );
@@ -85,3 +87,8 @@ export default {
        },
 };
 </script>
+
+<style lang="sass" scoped>
+.moves-list
+  min-width: 250px
+</style>