diff options
author | William Carroll <wpcarro@gmail.com> | 2020-11-12T11·19+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-11-12T11·19+0000 |
commit | 69b6bda01b18e5825b8a31dff8b8e283772c6630 (patch) | |
tree | 63db3217e701342591baac6ee6a3525baac9bbdf /scratch/habit-screens/client/src/Habits.elm | |
parent | 2290aac2a8a73ad14b0443bf35d4f158363a1f82 (diff) |
Style habit screen to accommodate footer
Add spacing to the bottom to make space for the footer.
Diffstat (limited to 'scratch/habit-screens/client/src/Habits.elm')
-rw-r--r-- | scratch/habit-screens/client/src/Habits.elm | 6 |
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 c1959e818c36..bbd5887f8bd5 100644 --- a/scratch/habit-screens/client/src/Habits.elm +++ b/scratch/habit-screens/client/src/Habits.elm @@ -282,7 +282,7 @@ render { today, visibleDayOfWeek, completed, includeMorning, includeEvening } = in div [ Utils.class - [ Always "container mx-auto py-6 px-6" + [ Always "max-w-xl mx-auto py-6 px-6" , When (todaysWeekday /= visibleWeekday) "pt-20" ] ] @@ -411,7 +411,7 @@ render { today, visibleDayOfWeek, completed, includeMorning, includeEvening } = else text "" - , ul [] + , ul [ class "pb-10" ] (habits |> List.indexedMap (\i { label, minutesDuration } -> @@ -455,7 +455,7 @@ render { today, visibleDayOfWeek, completed, includeMorning, includeEvening } = ] ) ) - , footer [ class "text-sm text-center text-gray-500 fixed bottom-0 left-0 w-full py-4" ] + , footer [ class "bg-white text-sm text-center text-gray-500 fixed bottom-0 left-0 w-full py-4" ] [ p [] [ text "This app is brought to you by William Carroll." ] , p [] [ text "Client: Elm; Server: n/a" ] ] |