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 ->
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 []
(weekday
|> habitsFor
|> List.indexedMap
(\i x ->
li [ class "text-xl" ]
li [ class "text-xl list-disc ml-6" ]
[ button
[ class "py-5 px-6"
[ class "py-5 px-3"
, tailwind
[ ( "line-through"
, Set.member i completed