From: Benjamin Auder Date: Mon, 30 Mar 2020 13:46:15 +0000 (+0200) Subject: Improve display X-Git-Url: https://git.auder.net/%7B%7B%20path%28%27mixstore_store_package_view%27%2C%20%7B%20id:%20pkg.id%20%7D%29%20%7D%7D?a=commitdiff_plain;h=73f8753ff5abf6c5819684920565e655b6858175;p=vchess.git Improve display --- diff --git a/client/src/components/UploadGame.vue b/client/src/components/UploadGame.vue index 269cc04d..369333c1 100644 --- a/client/src/components/UploadGame.vue +++ b/client/src/components/UploadGame.vue @@ -37,6 +37,10 @@ export default { input#upload display: none +button#uploadBtn + display: block + margin: 0 auto + img.inline height: 22px @media screen and (max-width: 767px) diff --git a/client/src/views/MyGames.vue b/client/src/views/MyGames.vue index 4eeb9862..890d9395 100644 --- a/client/src/views/MyGames.vue +++ b/client/src/views/MyGames.vue @@ -23,6 +23,10 @@ main @show-game="showGame" @abortgame="abortGame" ) + UploadGame( + v-show="display=='import'" + @game-uploaded="addGameImport" + ) GameList( v-show="display=='import'" ref="importgames" @@ -34,7 +38,6 @@ main @click="loadMore(display)" ) | {{ st.tr["Load more"] }} - UploadGame(@game-uploaded="addGameImport")