@@ -24,7 +24,7 @@ type TopButton msg
25type alias Config msg =
25type alias Config msg =
26 { topButton : Maybe (TopButton msg)
26 { topButton : Maybe (TopButton msg)
27− , title : String
27+ , title : List (Html msg)
@@ -40,7 +40,7 @@ navigation { topButton, title } =
41 ++ [ nav [ Attr.class "p-tabs p-tabs__list no-scroll-bar" ]
41 ++ [ nav [ Attr.class "p-tabs p-tabs__list no-scroll-bar" ]
43− [ case topButton of
43+ ([ case topButton of
44 Nothing ->
44 Nothing ->
46 [ Attr.class "p-button--base is-inline u-no-margin", Attr.style "visibility" "hidden" ]
46 [ Attr.class "p-button--base is-inline u-no-margin", Attr.style "visibility" "hidden" ]
@@ -55,8 +55,9 @@ navigation { topButton, title } =
56 [ Attr.class "p-button--base is-inline u-no-margin", Ev.onClick cfg.toggle ]
56 [ Attr.class "p-button--base is-inline u-no-margin", Ev.onClick cfg.toggle ]
57 [ i [ Attr.class "p-icon--menu" ] [] ]
57 [ i [ Attr.class "p-icon--menu" ] [] ]
@@ -143,7 +144,7 @@ showNavigationView :
146− { title : String
147+ { title : List (Html msg)
147 , body : List (Html msg)
148 , body : List (Html msg)
148 , topButton : Maybe (TopButton msg)
149 , topButton : Maybe (TopButton msg)