diff --git a/web/src/App.vue b/web/src/App.vue index 7ab8af6..4aa0092 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -95,10 +95,16 @@ export default { this.handleError(data); } else { this.alert = { - message: `The game has been ended.`, - type: `info` - } + message: `The game has been ended by the host.`, + type: `info`, + }; this.$store.commit(`resetState`); + setTimeout(() => { + this.alert = { + message: null, + type: null, + }; + }, 2000) }; }, }, @@ -137,7 +143,6 @@ html, body { } .alert-bar.info { background-color: #7289da; - font-size: large; color: #000000; } diff --git a/web/src/views/Lobby.vue b/web/src/views/Lobby.vue index bb1a405..9283c5f 100644 --- a/web/src/views/Lobby.vue +++ b/web/src/views/Lobby.vue @@ -23,6 +23,11 @@ />