summaryrefslogtreecommitdiff
path: root/sw-ui/src
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@gmail.com>2021-02-21 12:52:11 +0100
committerJoffrey Bion <joffrey.bion@gmail.com>2021-02-21 12:59:06 +0100
commitf2a52409978f45a91dd0a57f780a1982e077f83d (patch)
tree73ab5217e662c2cdd7c7d676c4a3b62e8d3f0691 /sw-ui/src
parentRefactor GlobalStyles centering classes (diff)
downloadseven-wonders-f2a52409978f45a91dd0a57f780a1982e077f83d.tar.gz
seven-wonders-f2a52409978f45a91dd0a57f780a1982e077f83d.tar.bz2
seven-wonders-f2a52409978f45a91dd0a57f780a1982e077f83d.zip
Cleanup padding in GameBrowser and Lobby
Diffstat (limited to 'sw-ui/src')
-rw-r--r--sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/GameBrowser.kt2
-rw-r--r--sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/Lobby.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/GameBrowser.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/GameBrowser.kt
index 2f1d3d16..479c7ea0 100644
--- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/GameBrowser.kt
+++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/GameBrowser.kt
@@ -16,6 +16,7 @@ fun RBuilder.gameBrowser() = styledDiv {
css {
+GlobalStyles.fullscreen
+GlobalStyles.zeusBackground
+ padding(all = 1.rem)
}
styledDiv {
attrs {
@@ -23,7 +24,6 @@ fun RBuilder.gameBrowser() = styledDiv {
}
css {
margin(horizontal = LinearDimension.auto)
- padding(all = 1.rem)
maxWidth = 60.rem
}
styledDiv {
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 f7dd0b2a..4d38b081 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
@@ -49,9 +49,9 @@ class LobbyPresenter(props: LobbyProps) : RComponent<LobbyProps, RState>(props)
}
styledDiv {
css {
- padding(1.rem)
+GlobalStyles.fullscreen
+GlobalStyles.papyrusBackground
+ padding(all = 1.rem)
}
h2 { +"${currentGame.name} — Lobby" }
radialPlayerList(currentGame.players, currentPlayer)
bgstack15