Skip to content

Commit

Permalink
Correct scrolling issue: keep header at the top of the worship column…
Browse files Browse the repository at this point in the history
… while scrolling
  • Loading branch information
MaxWilson committed Nov 27, 2023
1 parent 443926c commit 6a98779
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/UI/Components/PriestSpellsView.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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 "")])]
]
Expand Down

0 comments on commit 6a98779

Please sign in to comment.