Explicitly set text color in price badges
This commit is contained in:
parent
a24ae30c9f
commit
ee68b1e10c
1 changed files with 2 additions and 2 deletions
|
@ -198,8 +198,8 @@ priceBadge { currency, amount } =
|
|||
]
|
||||
<|
|
||||
E.row [ E.width E.fill ]
|
||||
[ E.el [ E.width <| E.fillPortion 1 ] <| E.text <| String.toUpper currency
|
||||
, E.el [ E.width <| E.fillPortion 2, Font.alignRight ] <| E.text <| Round.round 2 amount
|
||||
[ E.el [ E.width <| E.fillPortion 1, Font.color colors.text ] <| E.text <| String.toUpper currency
|
||||
, E.el [ E.width <| E.fillPortion 2, Font.color colors.text, Font.alignRight ] <| E.text <| Round.round 2 amount
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue