Improve Icon Positioning for Small Devices
For nav side bars and icons used in the top men (like a persistent hamburger), noticed when going to a small format, some of the font sizes will adjust with the line height, causing the inset/floated icons to shift up. This can be fixed by making the following modification to the CSS
nav .nav-wrapper i { line-height: inherit; }
I had the same problem here also in side-nav, dropdowns and pretty much everywhere. I fixed the same way you did
i.material-icons {
linhe-height: inherit;
height: inherit;
}
I don't know the best place to make this modification to materialize, but on my project a global rule like that works great.
This icons using Google?
Following solved my problem:-
i.material-icons {
line-height: inherit;
height: inherit;
vertical-align: middle;
}
But it would be great if Materialize team include that too.
+1 @akigupta131