Fix tooltips removal on smartphone + disable navigation during autoplay
[vchess.git] / client / src / components / MoveList.vue
index 6c99975..6e9e850 100644 (file)
@@ -27,8 +27,8 @@ div
       :aria-label="st.tr['Resize board']"
     )
       img.inline(src="/images/icons/resize.svg")
-    button.tooltip(
-      v-if="canAnalyze"
+    button#analyzeBtn.tooltip(
+      v-show="canAnalyze"
       @click="$emit('analyze')"
       :aria-label="st.tr['Analyse']"
     )
@@ -240,6 +240,8 @@ span#rulesBtn
 
 button
   margin: 0
+  &.active
+    background-color: #50E99A
 
 #aboveMoves button
   padding-bottom: 5px