summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Components/PostList.elm1
-rw-r--r--src/Header.elm3
-rw-r--r--src/Pages/Feed.elm5
3 files changed, 5 insertions, 4 deletions
diff --git a/src/Components/PostList.elm b/src/Components/PostList.elm
index 998bdff..d417deb 100644
--- a/src/Components/PostList.elm
+++ b/src/Components/PostList.elm
@@ -43,7 +43,6 @@ styles =
, postLikeButton =
css
[ marginRight (px 5)
- , cursor pointer
]
}
diff --git a/src/Header.elm b/src/Header.elm
index 36469aa..60b2309 100644
--- a/src/Header.elm
+++ b/src/Header.elm
@@ -21,7 +21,6 @@ styles =
, logoutButton =
css
[ marginLeft (px 10)
- , cursor pointer
]
, flexPad = css [ flex (int 1) ]
}
@@ -33,6 +32,6 @@ headerView model =
[ a [ href "/" ] [ h1 [] [ text "😎 SOMEBOOK" ] ]
, div [ styles.flexPad ] []
, div [] [ "Logged in as {0}" |> templ [ model.userData.name ] |> text ]
- , button [ styles.logoutButton, onClick RequestLogout ] [ text "Logout" ]
+ , button [ styles.logoutButton, onClick RequestLogout ] [ text "Log out" ]
]
]
diff --git a/src/Pages/Feed.elm b/src/Pages/Feed.elm
index 5afbbda..42e934d 100644
--- a/src/Pages/Feed.elm
+++ b/src/Pages/Feed.elm
@@ -16,11 +16,14 @@ styles =
css
[ displayFlex
, flexFlow2 row wrap
+ , margin3 (px -5) (px -5) (px 10)
]
, composeInput =
css
[ flex (int 1)
+ , margin (px 5)
]
+ , submitButton = css [ margin (px 5) ]
}
@@ -57,7 +60,7 @@ composeForm model =
, value model.composeImageInputValue
]
[]
- , button [ type_ "submit" ] [ text "➡️" ]
+ , button [ styles.submitButton, type_ "submit" ] [ text "➡️" ]
]