Skip to content

Commit

Permalink
Wrap sortable
Browse files Browse the repository at this point in the history
  • Loading branch information
amitaibu committed Oct 31, 2024
1 parent 3634abf commit 0f016a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Web/View/LandingPages/Order.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Web.Element.ElementWrap
import Web.Element.Link
import Web.Element.Types
import Web.Element.Quote
import Web.Element.ElementWrap
import Web.Types
import Web.View.Prelude

Expand Down Expand Up @@ -49,9 +50,9 @@ orderAndRenderParagraphs landingPageWithRecords =
-- Order by weight.
|> sortOn fst
|> fmap snd
|> fmap wrapListLi
|> fmap wrapSortableListLi
|> mconcat
|> wrapListOl
|> wrapSortableList
where

ctas = landingPageWithRecords.paragraphCtas
Expand Down
1 change: 1 addition & 0 deletions tailwind/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
content: [
"Web/Element/**/*.hs",
"Web/View/**/*.hs",
"Application/Helper/Icons.hs",
],
safelist: [
// Add custom class names.
Expand Down

0 comments on commit 0f016a2

Please sign in to comment.