Fix wrapping of mana cost and type line text

This commit is contained in:
Correl Roush 2023-01-16 16:59:39 -05:00
parent b9511ff229
commit 5c15a56d10

View file

@ -514,7 +514,7 @@ viewCardDetails model =
[ E.text copy.card.name ]
, E.row [ E.spacing 5, E.centerX ] <|
List.map UI.priceBadge (prices copy.card)
, E.wrappedRow [ E.spacing 10 ] [ Symbol.text model.symbols 24 copy.card.manaCost, UI.text copy.card.typeLine ]
, E.paragraph [] <| [Symbol.text model.symbols 20 copy.card.manaCost, UI.text <| " " ++ copy.card.typeLine ]
, E.paragraph [] <|
List.map (Symbol.text model.symbols 16) (String.lines copy.card.oracleText)
]