diff options
author | joffrey-bion <joffrey.bion@gmail.com> | 2021-02-15 00:26:35 +0100 |
---|---|---|
committer | joffrey-bion <joffrey.bion@gmail.com> | 2021-02-15 00:26:35 +0100 |
commit | 1f9dc9cb2e7f757829acdfdad8b5fb7b8bc9efb0 (patch) | |
tree | 71751080b206c24cf287f59590170abab31b3976 /sw-ui/src/main/kotlin/org | |
parent | Use profiles to avoid sending local logs to Loki (diff) | |
download | seven-wonders-1f9dc9cb2e7f757829acdfdad8b5fb7b8bc9efb0.tar.gz seven-wonders-1f9dc9cb2e7f757829acdfdad8b5fb7b8bc9efb0.tar.bz2 seven-wonders-1f9dc9cb2e7f757829acdfdad8b5fb7b8bc9efb0.zip |
Center player names in lobby
Diffstat (limited to 'sw-ui/src/main/kotlin/org')
-rw-r--r-- | sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/RadialPlayerList.kt | 1 |
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 } |