From 8c3baa855f7291c026763e2084bc384b5813f2b8 Mon Sep 17 00:00:00 2001 From: Damian Romano Haj-Houssin <damian.haj-houssin@student.uni-halle.de> Date: Sun, 5 Jan 2025 11:06:10 +0100 Subject: [PATCH] Small style update for loading spinner. --- public/style.css | 1 - src/Main.elm | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/public/style.css b/public/style.css index 81ab0c2..5003f13 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 25f97bd..1c56d98 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..." ] -- GitLab