diff options
author | Joffrey Bion <joffrey.bion@gmail.com> | 2021-02-21 13:03:09 +0100 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@gmail.com> | 2021-02-21 13:03:09 +0100 |
commit | 86b77e22bbd277788f6edd5783f961d7491065ac (patch) | |
tree | 0414a61613e702212a08bbdd939671081f5f9f32 /sw-ui | |
parent | Cleanup padding in GameBrowser and Lobby (diff) | |
download | seven-wonders-86b77e22bbd277788f6edd5783f961d7491065ac.tar.gz seven-wonders-86b77e22bbd277788f6edd5783f961d7491065ac.tar.bz2 seven-wonders-86b77e22bbd277788f6edd5783f961d7491065ac.zip |
Align title level in Lobby and GameBrowser
Diffstat (limited to 'sw-ui')
-rw-r--r-- | sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/Lobby.kt | 4 |
1 files changed, 2 insertions, 2 deletions
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<LobbyProps, RState>(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) { |