center hostlobbymodal start button

This commit is contained in:
Evan
2025-04-03 17:13:16 -07:00
parent fbfc46f2cb
commit e1a299c8c5
2 changed files with 21 additions and 11 deletions
+14 -11
View File
@@ -285,18 +285,21 @@ export class HostLobbyModal extends LitElement {
)}
</div>
</div>
<div class="start-game-button-container">
<button
@click=${this.startGame}
?disabled=${this.players.length < 2}
class="start-game-button"
>
${
this.players.length === 1
? translateText("host_modal.waiting")
: translateText("host_modal.start")
}
</button>
</div>
<button
@click=${this.startGame}
?disabled=${this.players.length < 2}
class="start-game-button"
>
${
this.players.length === 1
? translateText("host_modal.waiting")
: translateText("host_modal.start")
}
</button>
</div>
</o-modal>
`;
+7
View File
@@ -394,6 +394,13 @@ label.option-card:hover {
}
}
.start-game-button-container {
display: flex;
justify-content: center;
width: 100%;
margin-top: 20px;
}
.message-area {
margin-top: 10px;
padding: 10px;