Skip to content

Commit edef9a3

Browse files
committed
center content of sidebar
1 parent f39eac1 commit edef9a3

File tree

7 files changed

+29
-16
lines changed

7 files changed

+29
-16
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
<p>getting-started works!</p>
1+
<div class="text-center mt-5">
2+
3+
<p>getting-started works!</p>
4+
5+
</div>
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
<p>reports works!</p>
1+
<div class="text-center mt-5">
2+
3+
<p>reports works!</p>
4+
5+
</div>
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
<p>time-clock works!</p>
1+
<div class="text-center mt-5">
2+
3+
<p>time-clock works!</p>
4+
5+
</div>
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
<p>time-entries works!</p>
1+
<div class="text-center mt-5">
2+
3+
<p>time-entries works!</p>
4+
5+
</div>
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
<p>time-off works!</p>
1+
<div class="text-center mt-5">
2+
3+
<p>time-off works!</p>
4+
5+
</div>

src/app/components/shared/clock/clock.component.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,6 @@ export class ClockComponent implements OnInit {
2424
}, 3000);
2525
}
2626

27-
horatTest() {
28-
this.currentDate = new Date();
29-
this.hour = this.currentDate.getHours();
30-
this.minutes = this.currentDate.getMinutes();
31-
this.seconds = this.currentDate.getSeconds();
32-
this.displayTime = false;
33-
setTimeout( 'horatTest()' , 3000);
34-
}
35-
36-
3727
ngOnInit(): void {
3828
}
3929

src/app/components/shared/sidebar/sidebar.component.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
<!-- /#sidebar-wrapper -->
1414

1515
<!-- Page Content -->
16-
<router-outlet></router-outlet>
16+
<div class="container">
17+
<router-outlet></router-outlet>
18+
</div>
19+
1720
<!-- /#page-content-wrapper -->
1821

1922
</div>

0 commit comments

Comments
 (0)