Skip to content

Commit 6bf7735

Browse files
jr-98scastillo-jp
authored andcommitted
fix: TT-139 Resolved the cometaries on GitHub about identation and bootstrap
1 parent 88d4871 commit 6bf7735

File tree

2 files changed

+41
-44
lines changed

2 files changed

+41
-44
lines changed

src/app/modules/customer-management/components/customer-info/components/customer-list/customer-list.component.html

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
1-
<div class="table table-responsive">
1+
<div class="table-responsive-sm">
22
<table
3-
*ngIf="customers"
4-
class="table table-bordered table-striped"
5-
datatable
6-
[dtTrigger]="dtTrigger"
7-
[dtOptions]="dtOptions"
8-
>
9-
<thead class="thead-blue">
10-
<tr class="d-flex">
11-
<th class="col-5 text-center">Customer ID</th>
12-
<th class="col-3 text-center">Name</th>
13-
<th class="col-4 text-center">Options</th>
14-
</tr>
15-
</thead>
16-
<app-loading-bar *ngIf="(isLoading$ | async)"></app-loading-bar>
17-
<tbody *ngIf="((isLoading$ | async) === false)">
18-
<tr class="d-flex" *ngFor="let customer of customers">
19-
<td class="col-5">{{ customer.id }}</td>
20-
<td class="col-3">{{ customer.name }}</td>
21-
<td class="col-4 text-center">
22-
<button
23-
(click)="editCustomer(customer.id)"
24-
type="button"
25-
class="btn btn-sm btn-primary"
26-
>
27-
<i class="fa fa-pencil fa-xs"></i>
28-
</button>
29-
<button
30-
data-toggle="modal"
31-
data-target="#deleteModal"
32-
(click)="openModal(customer)"
33-
type="button"
34-
class="btn btn-sm btn-danger ml-2"
35-
>
36-
<i class="fa fa-trash-alt fa-xs"></i>
37-
</button>
38-
</td>
39-
</tr>
40-
</tbody>
41-
</table>
3+
*ngIf="customers"
4+
class="table table-bordered table-striped mb-0"
5+
datatable
6+
[dtTrigger]="dtTrigger"
7+
[dtOptions]="dtOptions"
8+
>
9+
<thead class="thead-blue">
10+
<tr class="d-flex">
11+
<th class="col-5 text-center">Customer ID</th>
12+
<th class="col-3 text-center">Name</th>
13+
<th class="col-4 text-center">Options</th>
14+
</tr>
15+
</thead>
16+
<app-loading-bar *ngIf="(isLoading$ | async)"></app-loading-bar>
17+
<tbody *ngIf="((isLoading$ | async) === false)">
18+
<tr class="d-flex" *ngFor="let customer of customers">
19+
<td class="col-5 text-break">{{ customer.id }}</td>
20+
<td class="col-3 text-break">{{ customer.name }}</td>
21+
<td class="col-4 text-center">
22+
<button
23+
(click)="editCustomer(customer.id)"
24+
type="button"
25+
class="btn btn-sm btn-primary"
26+
>
27+
<i class="fa fa-pencil fa-xs"></i>
28+
</button>
29+
<button
30+
data-toggle="modal"
31+
data-target="#deleteModal"
32+
(click)="openModal(customer)"
33+
type="button"
34+
class="btn btn-sm btn-danger ml-2"
35+
>
36+
<i class="fa fa-trash-alt fa-xs"></i>
37+
</button>
38+
</td>
39+
</tr>
40+
</tbody>
41+
</table>
4242
</div>
4343

4444
<app-dialog
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
.col-3 .col-4 .col-5 {
2-
padding: 1rem 0rem 2rem;
3-
overflow: hidden;
4-
}
1+

0 commit comments

Comments
 (0)