Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Missing css class in navigation links #26

Closed
iquabius opened this issue Sep 2, 2015 · 3 comments
Closed

Missing css class in navigation links #26

iquabius opened this issue Sep 2, 2015 · 3 comments

Comments

@iquabius
Copy link

iquabius commented Sep 2, 2015

screenshot from 2015-09-02 19 21 28

Probably related: #8

@tleunen
Copy link
Owner

tleunen commented Sep 3, 2015

Is it from the demo? Or your project?
I forgot to update the demos with the latest version of react-mdl but it seems the navigation is missing.
The latest version introduces the Navigation component and you have to explicitely create it now. It's not auto created when you put links in a header.

So it should be something like this:

<Header>
    <Navigation>
      {links}
    </Navigation>
</Header>

The reason why we did this is to allow having something else than Navigation links in the header.

Let me know if this fixes your issue

@iquabius
Copy link
Author

iquabius commented Sep 3, 2015

That's from the demo, I didn't thought of that. Just saw it was broke and reported it.

I'll try the new way (which actually looks more flexible), and I get back if needed.

@iquabius iquabius closed this as completed Sep 3, 2015
@tleunen
Copy link
Owner

tleunen commented Sep 3, 2015

Thanks :) Sorry for the demos, I'm working on a new website with examples so they will be removed anyways :)

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

No branches or pull requests

2 participants