diff --git a/public/javascripts/bingo-web.js b/public/javascripts/bingo-web.js index b9ad5fa..5fdbc37 100644 --- a/public/javascripts/bingo-web.js +++ b/public/javascripts/bingo-web.js @@ -166,6 +166,7 @@ async function setLobbyWords(words) { * @returns {Promise} */ async function startRound() { + let textinput = document.querySelector('#input-bingo-words'); let words = getLobbyWords(); let resultWords = await setLobbyWords(words); textinput.value = resultWords.map(x => x.content).join('\n'); diff --git a/public/stylesheets/sass/bingo/style.sass b/public/stylesheets/sass/bingo/style.sass index fd401eb..3059e50 100644 --- a/public/stylesheets/sass/bingo/style.sass +++ b/public/stylesheets/sass/bingo/style.sass @@ -17,10 +17,15 @@ vertical-align: middle padding: 1rem z-index: 1000 + grid-template: 60% 40% / 100% + + h1 + @include gridPosition(1, 2, 1, 1) button margin: 1rem font-size: 2rem + @include gridPosition(2, 3, 1, 1) .greyover width: 100% @@ -59,7 +64,7 @@ height: calc(100% - 2px) #chat-content height: calc(100% - 3rem) - width: 100% + width: calc(100% - 2px) overflow-y: auto border: 1px solid $inactive box-shadow: inset 0 0 1rem $primary