summaryrefslogtreecommitdiff
path: root/sw-ui/src
diff options
context:
space:
mode:
authorjoffrey-bion <joffrey.bion@gmail.com>2021-02-15 00:26:35 +0100
committerjoffrey-bion <joffrey.bion@gmail.com>2021-02-15 00:26:35 +0100
commit1f9dc9cb2e7f757829acdfdad8b5fb7b8bc9efb0 (patch)
tree71751080b206c24cf287f59590170abab31b3976 /sw-ui/src
parentUse profiles to avoid sending local logs to Loki (diff)
downloadseven-wonders-1f9dc9cb2e7f757829acdfdad8b5fb7b8bc9efb0.tar.gz
seven-wonders-1f9dc9cb2e7f757829acdfdad8b5fb7b8bc9efb0.tar.bz2
seven-wonders-1f9dc9cb2e7f757829acdfdad8b5fb7b8bc9efb0.zip
Center player names in lobby
Diffstat (limited to 'sw-ui/src')
-rw-r--r--sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/RadialPlayerList.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/RadialPlayerList.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/RadialPlayerList.kt
index 56d25cb2..44e779c7 100644
--- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/RadialPlayerList.kt
+++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/RadialPlayerList.kt
@@ -112,6 +112,7 @@ private fun RBuilder.playerElement(playerItem: PlayerItem) {
styledH4 {
css {
margin(all = 0.px)
+ textAlign = TextAlign.center
}
+playerItem.playerText
}
bgstack15