From: Benjamin Auder Date: Wed, 4 Mar 2020 20:00:48 +0000 (+0100) Subject: Improve smartphone menu open/close buttons X-Git-Url: https://git.auder.net/variants/current/doc/css/assets/pieces/config.php?a=commitdiff_plain;h=b5aa30b5b421412dcf836d1c9f07cdc61c19c064;p=vchess.git Improve smartphone menu open/close buttons --- diff --git a/TODO b/TODO index 69ecfef6..9c745347 100644 --- 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 -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 diff --git a/client/src/App.vue b/client/src/App.vue index 18425c0d..e9ece044 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -195,8 +195,9 @@ nav 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 @@ -204,12 +205,15 @@ nav 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 + line-height: 1em @media screen and (max-width: 767px) .button-group diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 0876a2d2..2141cf96 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -55,7 +55,7 @@ main 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"] }}