Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layout.navigation ignores styles #170

Closed
altaic opened this issue Aug 13, 2016 · 1 comment
Closed

Layout.navigation ignores styles #170

altaic opened this issue Aug 13, 2016 · 1 comment

Comments

@altaic
Copy link

altaic commented Aug 13, 2016

Not a big deal, but it'd be nice to be able to style Layout.navigation as implied by the type signature. Currently it simply ignores the styles passed in:

{-| Container for links.
-}
navigation : List (Style m) -> List (Html m) -> Html m
navigation styles contents =
  nav [class "mdl-navigation"] contents

I guess this is more about documentation. Trying to add styles leads to head-scratching, and, in my case, looking at elm-mdl's source; for others it might instead lead to frustration.

@debois debois closed this as completed in 5d0c0be Aug 14, 2016
@debois
Copy link
Owner

debois commented Aug 14, 2016

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants