diff options
author | Joris | 2019-11-24 16:19:53 +0100 |
---|---|---|
committer | Joris | 2019-11-24 16:19:53 +0100 |
commit | 54628c70cb33de5e4309c35b9f6b57bbe9f7a07b (patch) | |
tree | 57e331cadfdf81b5598d21f76302f5269fd58344 /server/src/Design/Views.hs | |
parent | 3c67fcf1d524811a18f0c4db3ef6eed1270b9a12 (diff) |
Compute cumulative income with a DB query
Diffstat (limited to 'server/src/Design/Views.hs')
-rw-r--r-- | server/src/Design/Views.hs | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/server/src/Design/Views.hs b/server/src/Design/Views.hs index d36a728..270bb8e 100644 --- a/server/src/Design/Views.hs +++ b/server/src/Design/Views.hs @@ -32,15 +32,19 @@ design = do "margin" -: "0 2vw" ".titleButton" ? do - h1 ? do - Media.tabletDesktop $ float floatLeft + display flex + marginBottom (em 1) + + Media.tabletDesktop $ do + justifyContent spaceBetween + alignItems center + + Media.mobile $ do + flexDirection column + "h1" ? marginBottom (em 0.5) button ? do Helper.button Color.chestnutRose Color.white (px Constants.inputHeight) Constants.focusLighten - Media.tabletDesktop $ do - float floatRight - position relative - top (px (-8)) Media.mobile $ do width (pct 100) marginBottom (px 20) |