From 86b77e22bbd277788f6edd5783f961d7491065ac Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Sun, 21 Feb 2021 13:03:09 +0100 Subject: Align title level in Lobby and GameBrowser --- .../main/kotlin/org/luxons/sevenwonders/ui/components/lobby/Lobby.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw-ui/src/main/kotlin') diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/Lobby.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/Lobby.kt index 4d38b081..a50a803d 100644 --- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/Lobby.kt +++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/Lobby.kt @@ -13,7 +13,7 @@ import react.RBuilder import react.RComponent import react.RProps import react.RState -import react.dom.h2 +import react.dom.h1 import react.dom.h3 import react.dom.h4 import styled.css @@ -53,7 +53,7 @@ class LobbyPresenter(props: LobbyProps) : RComponent(props) +GlobalStyles.papyrusBackground padding(all = 1.rem) } - h2 { +"${currentGame.name} — Lobby" } + h1 { +"${currentGame.name} — Lobby" } radialPlayerList(currentGame.players, currentPlayer) actionButtons(currentPlayer, currentGame) if (currentPlayer.isGameOwner) { -- cgit