PolymerElements / paper-toolbar

A Material Design toolbar/appbar
https://www.webcomponents.org/element/PolymerElements/paper-toolbar
40 stars 41 forks source link

Don't remove margin-left when icon button is hidden #90

Open dantman opened 8 years ago

dantman commented 8 years ago

Quick (untested) suggestion.

Sometimes it may be relevant to hide the back or menu icon button on some pages when a paper-toolbar is shared between pages. In that case the button isn't actually there, so the margin-left removal shouldn't be applied.