File tree Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 4
4
< div class ="text-center my-5 ">
5
5
< img src ="assets/img/ioet-logo-light.png " width ="70 " height ="auto " class ="img-fluid " alt ="Ioet logo " />
6
6
</ div >
7
- < div class ="d-flex flex-column ">
7
+ < div class ="container ">
8
8
< a
9
9
*ngFor ="let item of itemsSidebar "
10
10
[routerLink] ="item.route "
11
- routerLinkActive ="background-item-sidebar-active "
12
- class ="item-hover text-white p-3 text-decoration-none "
11
+ routerLinkActive =""
12
+ class ="item-hover text-white item "
13
13
>
14
- < i class ="{{ item.icon }} mr-3 ml-3 "> </ i > {{ item.text }}</ a
14
+ < i class ="{{ item.icon }} "> </ i > {{ item.text }}</ a
15
15
>
16
16
</ div >
17
17
</ div >
Original file line number Diff line number Diff line change 35
35
}
36
36
}
37
37
38
+ .container {
39
+ display : grid ;
40
+ grid-gap : 20px ;
41
+ justify-content : center ;
42
+ align-self : center ;
43
+ .item {
44
+ display : grid ;
45
+ grid-template-columns : 30px 100px ;
46
+ align-items : center ;
47
+ }
48
+ }
49
+
38
50
@media (min-width : 768px ) {
39
51
#wrapper {
40
52
#sidebar-wrapper {
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export class SidebarComponent implements OnInit {
19
19
{ route : '/time-clock' , icon : 'fas fa-clock' , text : 'Time Clock' } ,
20
20
{ route : '/time-entries' , icon : 'fas fa-list-alt' , text : 'Time Entries' } ,
21
21
{ route : '/reports' , icon : 'fas fa-chart-pie' , text : 'Reports' } ,
22
- { route : '/activities-management' , icon : 'fas fa-file-alt' , text : ' Activities' } ,
22
+ { route : '/activities-management' , icon : 'fas fa-file-alt' , text : 'Activities' } ,
23
23
{ route : '/customers-management' , icon : 'fas fa-user' , text : 'Customers' } ,
24
24
] ;
25
25
}
You can’t perform that action at this time.
0 commit comments