Fix line breaks
authorTheSaminator <thesaminator@users.noreply.github.com>
Mon, 4 Jul 2022 23:17:14 +0000 (19:17 -0400)
committerTheSaminator <thesaminator@users.noreply.github.com>
Mon, 4 Jul 2022 23:17:14 +0000 (19:17 -0400)
src/jsMain/kotlin/net/starshipfights/campaign/campaign_ui.kt

index 0c3fa159efd131efa9dee08592783dbb782ca181..b5510be467e26e66f2d0dcd73de3c15aebe86d8e 100644 (file)
@@ -241,10 +241,12 @@ object CampaignUI {
                                        p {
                                                style = "text-align:center"
                                                +(system.holder?.loyalties?.first()?.getDefiniteShortName()?.let { "Controlled by $it" } ?: "Wilderness")
-                                               br
-                                               system.holder?.let { +"(${it.displayName})" }
-                                               br
                                                system.holder?.let {
+                                                       br
+                                                       +"(${it.displayName})"
+                                               }
+                                               system.holder?.let {
+                                                       br
                                                        img(alt = it.displayName, src = it.flagUrl) { style = "width:4em;height:2.5em" }
                                                }
                                        }