sidenav: should be display: flex
by default #10040
Description
Actual Behavior:
-
What is the issue? *
md-sidenav scss sets some flexbox properties (like here: https://github.com/angular/material/blob/master/src/components/sidenav/sidenav.scss#L8 ), but then only in locked states it actually getsdisplay: flex
applied (e.g. here: https://github.com/angular/material/blob/master/src/components/sidenav/sidenav.scss#L58 ).
This means that a sidenav which is open, but not locked open can have a different layout then when it is locked open. But one usually wants the contents of the sidenav to be the same whether or not is locked open. -
What is the expected behavior?
The layout of the sidenav should always be the same. Whether it's just open or locked open. -
Proposed solution
Adddisplay: flex;
by default
Angular Versions: *
Angular Version:
1.5.8Angular Material Version:
1.1.1