Tweak styles

- Increase font size for header
- Prefer a bulleted list
- Reduce horizontal padding
This commit is contained in:
William Carroll 2020-10-10 17:31:34 +01:00
parent bfbe7dc988
commit 7d425de48d

View file

@ -146,15 +146,15 @@ render { dayOfWeek, completed } =
Just weekday -> Just weekday ->
div [ class "font-mono py-6 px-6" ] div [ class "font-mono py-6 px-6" ]
[ h1 [ class "text-2xl text-center" ] [ text (weekdayName weekday) ] [ h1 [ class "text-3xl text-center" ] [ text (weekdayName weekday) ]
, ul [] , ul []
(weekday (weekday
|> habitsFor |> habitsFor
|> List.indexedMap |> List.indexedMap
(\i x -> (\i x ->
li [ class "text-xl" ] li [ class "text-xl list-disc ml-6" ]
[ button [ button
[ class "py-5 px-6" [ class "py-5 px-3"
, tailwind , tailwind
[ ( "line-through" [ ( "line-through"
, Set.member i completed , Set.member i completed