summaryrefslogtreecommitdiff
path: root/sw-ui-kt/src
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-04-01 22:04:39 +0200
committerJoffrey Bion <joffrey.bion@booking.com>2020-04-01 22:04:39 +0200
commit89bf411b24f3a8a2861034576b9cf520c98c52a4 (patch)
treeb94e11f40c0a3eaae580dea130aaa314089b74c5 /sw-ui-kt/src
parentFix coroutines/saga cancellation (diff)
downloadseven-wonders-89bf411b24f3a8a2861034576b9cf520c98c52a4.tar.gz
seven-wonders-89bf411b24f3a8a2861034576b9cf520c98c52a4.tar.bz2
seven-wonders-89bf411b24f3a8a2861034576b9cf520c98c52a4.zip
Remove manual LinearDimension invocation
Diffstat (limited to 'sw-ui-kt/src')
-rw-r--r--sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/components/home/HomeStyles.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/components/home/HomeStyles.kt b/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/components/home/HomeStyles.kt
index 34699f5b..3686f35c 100644
--- a/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/components/home/HomeStyles.kt
+++ b/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/components/home/HomeStyles.kt
@@ -19,10 +19,10 @@ object HomeStyles : StyleSheet("HomeStyles", isStatic = true) {
val fullscreen by css {
position = Position.fixed
- top = LinearDimension("0")
- left = LinearDimension("0")
- bottom = LinearDimension("0")
- right = LinearDimension("0")
+ top = 0.px
+ left = 0.px
+ bottom = 0.px
+ right = 0.px
overflow = Overflow.hidden
}
}
bgstack15