@@ -24,7 +24,7 @@ type TopButton msg
2424
2525type alias Config msg =
2626 { topButton : Maybe (TopButton msg)
27− , title : String
27+ , title : List (Html msg)
2828 }
2929
3030
@@ -40,7 +40,7 @@ navigation { topButton, title } =
4040 )
4141 ++ [ nav [ Attr.class "p-tabs p-tabs__list no-scroll-bar" ]
4242 [ h3 []
43− [ case topButton of
43+ ([ case topButton of
4444 Nothing ->
4545 button
4646 [ Attr.class "p-button--base is-inline u-no-margin", Attr.style "visibility" "hidden" ]
@@ -55,8 +55,9 @@ navigation { topButton, title } =
5555 button
5656 [ Attr.class "p-button--base is-inline u-no-margin", Ev.onClick cfg.toggle ]
5757 [ i [ Attr.class "p-icon--menu" ] [] ]
58− , text title
59− ]
58+ ]
59+ ++ title
60+ )
6061 ]
6162 ]
6263 )
@@ -143,7 +144,7 @@ showNavigationView :
143144 ->
144145 (model
145146 ->
146− { title : String
147+ { title : List (Html msg)
147148 , body : List (Html msg)
148149 , topButton : Maybe (TopButton msg)
149150 }