summaryrefslogtreecommitdiff
path: root/sw-ui
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@gmail.com>2021-02-21 13:03:09 +0100
committerJoffrey Bion <joffrey.bion@gmail.com>2021-02-21 13:03:09 +0100
commit86b77e22bbd277788f6edd5783f961d7491065ac (patch)
tree0414a61613e702212a08bbdd939671081f5f9f32 /sw-ui
parentCleanup padding in GameBrowser and Lobby (diff)
downloadseven-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.kt4
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) {
bgstack15