Skip to content

Commit

Permalink
Make sure that Github link can float all the way to the right, which …
Browse files Browse the repository at this point in the history
…means it can't be within a flexbox. Make it inside of a fullWidth div instead.
  • Loading branch information
MaxWilson committed Nov 27, 2023
1 parent 12a689d commit 556932e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions main.sass
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ ul
@media speech
display: none

.fullWidth
width: 100%

.srcLink
max-width: 6rem
float: right
Expand Down
6 changes: 4 additions & 2 deletions src/UI/Components/PriestSpellsView.fs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ let View() =
]
]
class' "scrollParent" Html.div [
srcLink
Html.h2 "Worship"
class' "fullWidth" Html.div [
srcLink
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 556932e

Please sign in to comment.