From 6a98779967344f26df58013597e98da9aab117e3 Mon Sep 17 00:00:00 2001 From: Max Wilson Date: Sun, 26 Nov 2023 19:09:56 -0800 Subject: [PATCH] Correct scrolling issue: keep header at the top of the worship column while scrolling --- src/UI/Components/PriestSpellsView.fs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/UI/Components/PriestSpellsView.fs b/src/UI/Components/PriestSpellsView.fs index 737ff26..707100d 100644 --- a/src/UI/Components/PriestSpellsView.fs +++ b/src/UI/Components/PriestSpellsView.fs @@ -36,10 +36,10 @@ let View() = ] ] ] - class' "scrollable" Html.div [ + class' "scrollParent" Html.div [ srcLink - Html.h2 "Gods" - Html.ul [ + Html.h2 "Worship" + class' "scrollable" Html.ul [ for deity in filteredDeities filter model do Html.li [prop.text (deity.name + ": " + String.join ", " [for sphere in deity.spheres -> (sphere.sphere + if sphere.access = Minor then "*" else "")])] ]