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 [ searchBar model
, viewCardBrowser model , viewCardBrowser model
, E.el , UI.footer <|
[ 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
]
<|
case model.collectionStatistics of case model.collectionStatistics of
Just statistics -> Just statistics ->
E.el [ E.centerY, Font.size 16, Font.italic ] <| E.el [ E.centerY, Font.size 16, Font.italic ] <|

View file

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