Skip to content

Commit 875641c

Browse files
committed
fix lint
1 parent 3fd81fe commit 875641c

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/material-examples/sidenav-responsive/sidenav-responsive-example.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@
1010

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

1717
h1.example-app-name {
1818
margin-left: 8px;
1919
}
2020

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

2727
.example-is-mobile .example-sidenav-container {
28-
// When the sidenav is fixed, don't constrain the height of the sidenav container. This allows the
29-
// `<body>` to be our scrolling element for mobile layouts.
30-
flex: 1 0 auto;
28+
/* When the sidenav is fixed, don't constrain the height of the sidenav container. This allows the
29+
`<body>` to be our scrolling element for mobile layouts. */
30+
flex: 1 0 auto;
3131
}

src/material-examples/sidenav-responsive/sidenav-responsive-example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {ChangeDetectorRef, Component} from '@angular/core';
1010
export class SidenavResponsiveExample {
1111
mobileQuery: MediaQueryList;
1212

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

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

0 commit comments

Comments
 (0)