Consolidate footers

This commit is contained in:
Correl Roush 2023-01-11 22:46:34 -05:00
parent e9ed5756ef
commit 02976ee4d5
2 changed files with 2 additions and 10 deletions

View file

@ -579,16 +579,7 @@ view model =
]
[ searchBar model
, viewCardBrowser model
, E.el
[ E.height (E.px 50)
, E.width E.fill
, E.clipX
, E.padding 10
, Font.color UI.colors.text
, Background.color UI.colors.navBar
, E.alignBottom
]
<|
, UI.footer <|
case model.collectionStatistics of
Just statistics ->
E.el [ E.centerY, Font.size 16, Font.italic ] <|

View file

@ -307,6 +307,7 @@ footer element =
E.el
[ E.height (E.px 50)
, E.width E.fill
, E.clipX
, E.padding 10
, Font.color colors.text
, Background.color colors.navBar