mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(sidenav): remove min-width (#7748)
* fix(sidenav): remove min-width * fixed tests
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user