Skip to content

Commit 5957acb

Browse files
committed
Make all background black
1 parent c3baad8 commit 5957acb

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

projects/train-platform/src/app/app.component.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,12 @@
1212
display: block;
1313
background-color: var(--background-color);
1414
color: var(--font-color);
15+
height: 100vh;
16+
}
17+
18+
:host > div {
19+
margin: 0;
20+
max-width: 800px;
21+
margin-left: auto;
22+
margin-right: auto;
1523
}

projects/train-platform/src/app/app.component.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ import { ThemeService } from './theme.service';
55
@Component({
66
selector: 'app-root',
77
template: `
8-
<app-navbar></app-navbar>
9-
<router-outlet></router-outlet>
8+
<div>
9+
<app-navbar></app-navbar>
10+
<router-outlet></router-outlet>
11+
</div>
1012
`,
1113
styleUrls: ['./app.component.css'],
1214
})
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
body {
2+
margin: 0;
3+
}

0 commit comments

Comments
 (0)