diff --git a/public/style.css b/public/style.css index 81ab0c2e5847b9f8f195f9828f38f138d6fe4b43..5003f13eb198b72021544d675c00a7103210e0d7 100644 --- a/public/style.css +++ b/public/style.css @@ -179,7 +179,6 @@ body { width: 120px; height: 120px; animation: spin 2s linear infinite; - } @keyframes spin { diff --git a/src/Main.elm b/src/Main.elm index 25f97bd9cfbe730a64c8fa0afc15e52d761981be..1c56d98da5c72209173db9b163887305b76020fc 100644 --- a/src/Main.elm +++ b/src/Main.elm @@ -187,15 +187,13 @@ viewContent ( global, local ) = let message = Html.div - [ Html.Attributes.style "justify-items" "center" - , Html.Attributes.style "align-content" "center" - , Html.Attributes.style "flex-grow" "1" - ] + [ Html.Attributes.style "margin" "auto" ] (case global.progress of Loading -> [ Html.div [ Html.Attributes.class "loader" ] [] , Html.div [ Html.Attributes.style "position" "relative" + , Html.Attributes.style "left" "1.5rem" , Html.Attributes.style "bottom" "5rem" ] [ Html.text "Loading Data..." ]