fix(sidenav): remove min-width (#7748)

* fix(sidenav): remove min-width

* fixed tests
This commit is contained in:
mmalerba
2017-11-28 10:42:51 -08:00
committed by tinayuangao
parent 2dbc76631d
commit 55a9f9a7f1
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -106,7 +106,6 @@ $mat-drawer-over-drawer-z-index: 4;
top: 0;
bottom: 0;
z-index: 3;
min-width: 5vw;
outline: 0;
box-sizing: border-box;
overflow-y: auto; // TODO(kara): revisit scrolling behavior for drawers
+1 -1
View File
@@ -665,7 +665,7 @@ class DrawerDelayed {
@Component({
template: `
<mat-drawer-container>
<mat-drawer *ngIf="renderDrawer" [mode]="mode"></mat-drawer>
<mat-drawer *ngIf="renderDrawer" [mode]="mode" style="width:100px"></mat-drawer>
</mat-drawer-container>`,
})
class DrawerContainerStateChangesTestApp {