Skip to content

Commit

Permalink
fix(sidenav): use vw instead of percentage for sidenav min width (#3046)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewseguin authored Feb 16, 2017
1 parent 6bac315 commit c638e20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/demo-app/demo-app/demo-app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ body {
}

.mat-sidenav {
min-width: 15%;
min-width: 15vw;

.mat-button {
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/sidenav/sidenav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
top: 0;
bottom: 0;
z-index: 3;
min-width: 5%;
min-width: 5vw;
outline: 0;

@include mat-sidenav-transition(0, -100%);
Expand Down

0 comments on commit c638e20

Please sign in to comment.