From 0aa1b19de5cff892c67cf41bdf9b3c7430719663 Mon Sep 17 00:00:00 2001 From: Miles Malerba Date: Fri, 13 Oct 2017 11:20:21 -0700 Subject: [PATCH] fix lint --- .../sidenav-responsive-example.css | 16 ++++++++-------- .../sidenav-responsive-example.ts | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/material-examples/sidenav-responsive/sidenav-responsive-example.css b/src/material-examples/sidenav-responsive/sidenav-responsive-example.css index d256632bd66f..93a8e0114727 100644 --- a/src/material-examples/sidenav-responsive/sidenav-responsive-example.css +++ b/src/material-examples/sidenav-responsive/sidenav-responsive-example.css @@ -10,8 +10,8 @@ .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 { @@ -19,13 +19,13 @@ h1.example-app-name { } .example-sidenav-container { -// When the sidenav is not fixed, stretch the sidenav container to fill the available space. This -// causes `` 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 `` 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 -// `` 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 + `` to be our scrolling element for mobile layouts. */ + flex: 1 0 auto; } diff --git a/src/material-examples/sidenav-responsive/sidenav-responsive-example.ts b/src/material-examples/sidenav-responsive/sidenav-responsive-example.ts index 5039a87feb51..964e3d051d36 100644 --- a/src/material-examples/sidenav-responsive/sidenav-responsive-example.ts +++ b/src/material-examples/sidenav-responsive/sidenav-responsive-example.ts @@ -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