summaryrefslogtreecommitdiff
path: root/sw-ui
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-07-01 23:41:44 +0200
committerJoffrey Bion <joffrey.bion@booking.com>2020-07-01 23:41:44 +0200
commit5cf0f06bb87fdd55dbba72c5808cf87d9933e27d (patch)
treec6781601072dabd18a1e18391d7cc28f70eddbf6 /sw-ui
parentExtract papyrus background style (diff)
downloadseven-wonders-5cf0f06bb87fdd55dbba72c5808cf87d9933e27d.tar.gz
seven-wonders-5cf0f06bb87fdd55dbba72c5808cf87d9933e27d.tar.bz2
seven-wonders-5cf0f06bb87fdd55dbba72c5808cf87d9933e27d.zip
Rename sidebar -> setup panel
Diffstat (limited to 'sw-ui')
-rw-r--r--sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/Lobby.kt6
1 files changed, 3 insertions, 3 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 763898b3..6b652a4e 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
@@ -51,7 +51,7 @@ class LobbyPresenter(props: LobbyProps) : RComponent<LobbyProps, RState>(props)
radialPlayerList(currentGame.players, currentPlayer)
actionButtons(currentPlayer, currentGame)
if (currentPlayer.isGameOwner) {
- sideBar(currentGame)
+ setupPanel(currentGame)
}
}
}
@@ -89,7 +89,7 @@ class LobbyPresenter(props: LobbyProps) : RComponent<LobbyProps, RState>(props)
}
}
- private fun RBuilder.sideBar(currentGame: LobbyDTO) {
+ private fun RBuilder.setupPanel(currentGame: LobbyDTO) {
styledDiv {
css {
position = Position.fixed
@@ -97,7 +97,7 @@ class LobbyPresenter(props: LobbyProps) : RComponent<LobbyProps, RState>(props)
right = 1.rem
width = 15.rem
}
- bpCard(Elevation.ONE) {
+ bpCard(Elevation.TWO) {
styledH2 {
css {
margin(top = 0.px)
bgstack15