Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba committed Oct 13, 2017
1 parent 538f2d9 commit 0aa1b19
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@

.example-is-mobile .example-toolbar {
position: fixed;
// Make sure the toolbar will stay on top of the content as it scrolls past.
z-index: 2;
/* Make sure the toolbar will stay on top of the content as it scrolls past. */
z-index: 2;
}

h1.example-app-name {
margin-left: 8px;
}

.example-sidenav-container {
// When the sidenav is not fixed, stretch the sidenav container to fill the available space. This
// causes `<mat-sidenav-content>` to act as our scrolling element for desktop layouts.
flex: 1;
/* When the sidenav is not fixed, stretch the sidenav container to fill the available space. This
causes `<mat-sidenav-content>` to act as our scrolling element for desktop layouts. */
flex: 1;
}

.example-is-mobile .example-sidenav-container {
// When the sidenav is fixed, don't constrain the height of the sidenav container. This allows the
// `<body>` to be our scrolling element for mobile layouts.
flex: 1 0 auto;
/* When the sidenav is fixed, don't constrain the height of the sidenav container. This allows the
`<body>` to be our scrolling element for mobile layouts. */
flex: 1 0 auto;
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ChangeDetectorRef, Component} from '@angular/core';
export class SidenavResponsiveExample {
mobileQuery: MediaQueryList;

fillerNav = Array(50).fill(0).map((_, i) => `Nav Item ${i+1}`);
fillerNav = Array(50).fill(0).map((_, i) => `Nav Item ${i + 1}`);

fillerContent = Array(50).fill(0).map(() =>
`Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
Expand Down

0 comments on commit 0aa1b19

Please sign in to comment.