From 20e8c024ce700cbd4d37cabdf81b1dd1ff665d24 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Wed, 11 Jan 2023 22:48:16 -0500 Subject: [PATCH] Fix excess scrolling in mobile Something was trailing off the screen area causing the app to scroll away. --- www/src/Pages/DeckEditor.elm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/src/Pages/DeckEditor.elm b/www/src/Pages/DeckEditor.elm index 9157201..bf5631b 100644 --- a/www/src/Pages/DeckEditor.elm +++ b/www/src/Pages/DeckEditor.elm @@ -76,10 +76,11 @@ groups cards = isEmpty : Group -> Bool isEmpty group = List.isEmpty group.cards + gather : String -> String -> Group gather groupName typeName = List.filter (isA typeName) cards - |> List.sortBy (\dc ->(dc.card.cmc, dc.card.name)) + |> List.sortBy (\dc -> ( dc.card.cmc, dc.card.name )) |> Group groupName in List.filter (\l -> not <| isEmpty l) @@ -169,6 +170,7 @@ view model = E.column [ E.width E.fill , E.height E.fill + , E.clipX ] [ case model.deck of Ready deck ->