about summary refs log tree commit diff
path: root/scratch/habit-screens/client/src/Habits.elm
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-10-10T16·31+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-10-10T16·31+0100
commit7d425de48d395e2f81a62efccbcacc734572bb18 (patch)
tree52a71ff87fe43a900e2bb47d6257bf1448afcab2 /scratch/habit-screens/client/src/Habits.elm
parentbfbe7dc988421f4c7ec5cdc09569389cf082864f (diff)
Tweak styles
- Increase font size for header
- Prefer a bulleted list
- Reduce horizontal padding
Diffstat (limited to 'scratch/habit-screens/client/src/Habits.elm')
-rw-r--r--scratch/habit-screens/client/src/Habits.elm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scratch/habit-screens/client/src/Habits.elm b/scratch/habit-screens/client/src/Habits.elm
index 644c54911bce..bf9e594cb003 100644
--- a/scratch/habit-screens/client/src/Habits.elm
+++ b/scratch/habit-screens/client/src/Habits.elm
@@ -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