From 89bf411b24f3a8a2861034576b9cf520c98c52a4 Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Wed, 1 Apr 2020 22:04:39 +0200 Subject: Remove manual LinearDimension invocation --- .../org/luxons/sevenwonders/ui/components/home/HomeStyles.kt | 8 ++++---- 1 file 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 } } -- cgit