Skip to content
Snippets Groups Projects
Commit 5a58bb29 authored by Florian Raab's avatar Florian Raab
Browse files

ForceDirectedGraph: little style tweaks (fr)

parent 862da1b0
No related branches found
No related tags found
No related merge requests found
...@@ -45,11 +45,11 @@ h = ...@@ -45,11 +45,11 @@ h =
view : Global -> Local.Model -> Html Msg view : Global -> Local.Model -> Html Msg
view global local = view global local =
Html.div [ style "width" "100%" ] Html.div [ style "width" "100%" ]
[ Html.div [ style "display" "flex", style "flex-direction" "row", style "align-items" "center" ] [ Html.div [ style "display" "flex", style "flex-direction" "row", style "align-items" "center", style "margin-bottom" "0.5rem" ]
[ Html.div [] [ Html.div []
[ Html.h2 [ style "margin-top" "0" ] [-- Html.h2 [ style "margin-top" "0" ]
[ Html.text "Force directed Graph" ] -- [ Html.text "Force directed Graph" ]
, Html.div [ style "display" "flex", style "flex-direction" "row", style "gap" "0.5rem" ] Html.div [ style "display" "flex", style "flex-direction" "row", style "gap" "0.5rem" ]
[ Html.button [ Local.ChangeVersion 0 |> propagate |> onClick ] [ Html.button [ Local.ChangeVersion 0 |> propagate |> onClick ]
[ Html.text "Version 1" ] [ Html.text "Version 1" ]
, Html.button [ Local.ChangeVersion 1 |> propagate |> onClick ] , Html.button [ Local.ChangeVersion 1 |> propagate |> onClick ]
...@@ -110,7 +110,7 @@ view global local = ...@@ -110,7 +110,7 @@ view global local =
[ Html.text "Legende" [ Html.text "Legende"
] ]
, if not <| local.highlight == "" then , if not <| local.highlight == "" then
Html.button [ Local.Highlight "" |> propagate |> onClick, style "margin-left" "auto" ] Html.button [ Local.Highlight "" |> propagate |> onClick, style "margin-left" "auto", style "padding" "0" ]
[ Html.i [ Html.Attributes.class "fa-solid fa-repeat fa-xl" ] [] ] [ Html.i [ Html.Attributes.class "fa-solid fa-repeat fa-xl" ] [] ]
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment