diff options
author | Joris | 2015-09-13 14:38:08 +0200 |
---|---|---|
committer | Joris | 2015-09-13 14:38:08 +0200 |
commit | 6ca60e32f0cbde913d171cd84ed7009ab4281284 (patch) | |
tree | 9d365a0e94cbcbfbc0b4e88d8e6cec7ada75fd28 /src/server/Design/Helper.hs | |
parent | 5babf01323bcb62a9880593165af70732f22751b (diff) |
Adding UI to modify the income
Diffstat (limited to 'src/server/Design/Helper.hs')
-rw-r--r-- | src/server/Design/Helper.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/server/Design/Helper.hs b/src/server/Design/Helper.hs index 53839c1..6e2fde3 100644 --- a/src/server/Design/Helper.hs +++ b/src/server/Design/Helper.hs @@ -6,6 +6,7 @@ module Design.Helper , defaultInput , centeredWithMargin , expandBlock + , verticalCentering ) where import Clay @@ -60,3 +61,9 @@ expandBlock headerBackground headerColor headerHeight = do position relative paddingLeft blockPadding paddingRight (px 55) + +verticalCentering :: Css +verticalCentering = do + position absolute + top (pct 50) + "transform" -: "translateY(-50%)" |