From: TheSaminator Date: Sun, 13 Feb 2022 15:15:09 +0000 (-0500) Subject: Add centering that I forgot X-Git-Url: https://gitweb.starshipfights.net/?a=commitdiff_plain;h=4ac9f7d4cd7ebd8bfffbaefc27aa8cadf6450273;p=starship-fights Add centering that I forgot --- diff --git a/src/jvmMain/kotlin/starshipfights/info/views_user.kt b/src/jvmMain/kotlin/starshipfights/info/views_user.kt index 2f97793..5944177 100644 --- a/src/jvmMain/kotlin/starshipfights/info/views_user.kt +++ b/src/jvmMain/kotlin/starshipfights/info/views_user.kt @@ -48,6 +48,7 @@ suspend fun ApplicationCall.userPage(): HTML.() -> Unit { } if (user.showUserStatus) p { + style = "text-align:center" +when (user.status) { UserStatus.IN_BATTLE -> "In Battle" UserStatus.READY_FOR_BATTLE -> "In Battle"