summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Tuomi <jan.tuomi@valuemotive.com>2021-11-05 09:02:55 +0200
committerJan Tuomi <jan.tuomi@valuemotive.com>2021-11-05 09:02:55 +0200
commit32a6ffc0c117b4ef28ea9f74517de77f8fafff1a (patch)
treef2f27d060b9f4f1b2a71684ce5e43e6a65b1a9ab /src
parent0f0f194cef76a5c1b815a793314e0aca745dd311 (diff)
Styling
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 "➡️" ]
]