Improve smartphone menu open/close buttons
authorBenjamin Auder <benjamin.auder@somewhere>
Wed, 4 Mar 2020 20:00:48 +0000 (21:00 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Wed, 4 Mar 2020 20:00:48 +0000 (21:00 +0100)
TODO
client/src/App.vue
client/src/views/Hall.vue

diff --git a/TODO b/TODO
index 69ecfef..9c74534 100644 (file)
--- a/TODO
+++ b/TODO
@@ -11,12 +11,6 @@ Saw once a "double challenge" bug, one anonymous and a second one logged
 Both were asked a challenge probably, and both challenges added as different ones.
 => would probably be solved by waiting for identity before adding people to people array
 
 Both were asked a challenge probably, and both challenges added as different ones.
 => would probably be solved by waiting for identity before adding people to people array
 
-Bug only in prod: observers don't see current games in live games section
-also some games seem to have trouble to start...
-Color bug
-anonymous on game name but username OK in chat
-game not showing on "live games" ... ?
-
 # New variants
 8-pieces https://www.youtube.com/watch?v=XZ8K02Da7Ps&list=PLRyjH8DPuzTBiym6lA0r84P8N0HnTtZyN&index=6&t=0s
 https://www.chessvariants.com/rules/8-piece-chess
 # New variants
 8-pieces https://www.youtube.com/watch?v=XZ8K02Da7Ps&list=PLRyjH8DPuzTBiym6lA0r84P8N0HnTtZyN&index=6&t=0s
 https://www.chessvariants.com/rules/8-piece-chess
index 18425c0..e9ece04 100644 (file)
@@ -195,8 +195,9 @@ nav
       cursor: pointer
       font-size: 32px
       position: absolute
       cursor: pointer
       font-size: 32px
       position: absolute
-      top: -22px
-      //padding: -5px 0 0 10px
+      top: 5px
+      line-height: 1em
+      padding: 0
     & > #menuBar
       z-index: 5000 //to hide currently selected piece if any
 
     & > #menuBar
       z-index: 5000 //to hide currently selected piece if any
 
@@ -204,12 +205,15 @@ nav
   right: -767px
 
 [type=checkbox].drawer+* .drawer-close
   right: -767px
 
 [type=checkbox].drawer+* .drawer-close
-  top: -10px
-  left: var(--universal-margin)
-  right: 0
+  top: 0
+  left: 10px
+  padding: 0
+  width: 42px
+  height: 42px
 
 [type=checkbox].drawer+* .drawer-close:before
   font-size: 50px
 
 [type=checkbox].drawer+* .drawer-close:before
   font-size: 50px
+  line-height: 1em
 
 @media screen and (max-width: 767px)
   .button-group
 
 @media screen and (max-width: 767px)
   .button-group
index 0876a2d..2141cf9 100644 (file)
@@ -55,7 +55,7 @@ main
             placeholder="5+0, 1h+30s, 5d ..."
           )
         fieldset
             placeholder="5+0, 1h+30s, 5d ..."
           )
         fieldset
-          label(for="selectRandomLevel") {{ st.tr["Randomness"] }}
+          label(for="selectRandomLevel") {{ st.tr["Randomness"] }} *
           select#selectRandomLevel(v-model="newchallenge.randomness")
             option(value="0") {{ st.tr["Deterministic"] }}
             option(value="1") {{ st.tr["Symmetric random"] }}
           select#selectRandomLevel(v-model="newchallenge.randomness")
             option(value="0") {{ st.tr["Deterministic"] }}
             option(value="1") {{ st.tr["Symmetric random"] }}