Materialize: 0.97.7 SideNav with several class="material-icons" displayed in cascade

Created on 24 Jul 2016  路  13Comments  路  Source: Dogfalo/materialize

Hi.
I take your example code SideNav and insert into mine. If you have multiple elements class="material-icons" in a list, they are displayed in cascade and no more vertical aligned as in 0.97.6

See screenshot or my website (view it on small screen)

capture_sidenav

Most helpful comment

Fixed in ebfa85e.
If you want to fix it now, you can move the entire ul#nav-mobile out of the nav.

All 13 comments

Please post a codepen so we can fix the problem.

As I'm not a web developer expert. Unfortunately, I was not able to manage the codepen. I got my ic_home icon in fullscreen but nothing in small screen

Just go to the codepen, click "fork" then paste in HTML and CSS and JS

It was what I've done but the renderer is not correct inot codepen

codepen saved (I missed $(".button-collapse").sideNav(); )

You need to post the link to your codepen for us to see it

Fixed in ebfa85e.
If you want to fix it now, you can move the entire ul#nav-mobile out of the nav.

Thx @acburst , this fix this also helped me. :)

I am facing this problem again. Check this : http://codepen.io/rohitsuratekar/pen/pbGxwV. I tried putting "side-nav" inside or outside nav. Did not help.

@rohitsuratekar fix is not in the 0.97.7 release, but putting "side-nav" outside nav should help. See - http://codepen.io/kmmbvnr/pen/rLPqkQ

@kmmbvnr : Hi, I downloaded CSS and JS files from (http://materializecss.com/getting-started.html) just yesterday and using them in my project. However it is still giving me similar results (i.e. extra space in navigation drawer). Am I missing something ?

@rohitsuratekar yes. As i said, the fix is not released and not in this files yet.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MickaelH974 picture MickaelH974  路  3Comments

bradley-varol picture bradley-varol  路  3Comments

serkandurusoy picture serkandurusoy  路  3Comments

samybob1 picture samybob1  路  3Comments

lpgeiger picture lpgeiger  路  3Comments