aboutsummaryrefslogtreecommitdiff
path: root/src/server/Design/LoggedIn/Home
diff options
context:
space:
mode:
authorJoris2016-06-04 11:02:43 +0200
committerJoris2016-06-04 11:02:43 +0200
commit38896af4281d2e191cbde15836a23e4c0274fff6 (patch)
tree0d7df152cc84beaa79cc9fa055db1e7992c4ac91 /src/server/Design/LoggedIn/Home
parent9dfa7a7e2c6fac564a456b11623c04d0b26fbce5 (diff)
Add mean payment by month
Diffstat (limited to 'src/server/Design/LoggedIn/Home')
-rw-r--r--src/server/Design/LoggedIn/Home/Expandables.hs2
-rw-r--r--src/server/Design/LoggedIn/Home/Table.hs6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/server/Design/LoggedIn/Home/Expandables.hs b/src/server/Design/LoggedIn/Home/Expandables.hs
index 635a4a7..36ba67d 100644
--- a/src/server/Design/LoggedIn/Home/Expandables.hs
+++ b/src/server/Design/LoggedIn/Home/Expandables.hs
@@ -16,7 +16,7 @@ design = do
".expand" ? do
position absolute
right blockPadding
- bottom (px 2)
+ bottom (px 0)
".monthlyPayments" ? expandBlock Color.gothic Color.white (px inputHeight)
diff --git a/src/server/Design/LoggedIn/Home/Table.hs b/src/server/Design/LoggedIn/Home/Table.hs
index d13ab85..b68f48f 100644
--- a/src/server/Design/LoggedIn/Home/Table.hs
+++ b/src/server/Design/LoggedIn/Home/Table.hs
@@ -19,7 +19,6 @@ design = do
display D.table
width (pct 100)
textAlign (alignSide (sideCenter))
- "border-spacing" -: "10 px"
".header" <> ".row" ? display tableRow
let headerHeight = (px 70)
@@ -29,11 +28,11 @@ design = do
backgroundColor Color.gothic
color Color.white
fontSize iconFontSize
- lineHeight headerHeight
+ height headerHeight
".row" ? do
fontSize (px 18)
- lineHeight (px rowHeightPx)
+ height (px rowHeightPx)
hover & do
let (borderW, triangleW, triangleH) = (4, 6, 8)
@@ -70,6 +69,7 @@ design = do
".cell" ? do
display tableCell
position relative
+ verticalAlign middle
".category" & width (pct 40)
".cost" & do
width (pct 17)