Skip to content

Commit

Permalink
fix(sidenav): remove min-width (#7748)
Browse files Browse the repository at this point in the history
* fix(sidenav): remove min-width

* fixed tests
  • Loading branch information
mmalerba authored and tinayuangao committed Nov 28, 2017
1 parent 2dbc766 commit 55a9f9a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/lib/sidenav/drawer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/lib/sidenav/drawer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 55a9f9a

Please sign in to comment.