Skip to content

Commit 8773695

Browse files
committed
fix: TT-139-Reduce-the-left-margin-on-the-customer-page2
1 parent c87f494 commit 8773695

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

src/app/modules/activities-management/components/activity-list/activity-list.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<tr class="d-flex">
55
<th class="col-4">Activity ID</th>
66
<th class="col-5">Activity</th>
7-
<th class="col-3 text-center"></th>
7+
<th class="col-3 text-center">Options</th>
88
</tr>
99
</thead>
1010
<app-loading-bar *ngIf="(isLoading$ | async)"></app-loading-bar>

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

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
1-
<table
1+
<div class="table table-responsive">
2+
<table
23
*ngIf="customers"
3-
class="table table-responsive-sm table-bordered table-striped mb-0"
4+
class="table table-bordered table-striped"
45
datatable
56
[dtTrigger]="dtTrigger"
67
[dtOptions]="dtOptions"
78
>
89
<thead class="thead-blue">
910
<tr class="d-flex">
10-
<th class="col-sm-4">Customer ID</th>
11-
<th class="col-sm-5">Name</th>
12-
<th class="col-sm-3 text-center">Options</th>
11+
<th class="col-5">Customer ID</th>
12+
<th class="col-3">Name</th>
13+
<th class="col-4 text-center">Options</th>
1314
</tr>
1415
</thead>
1516
<app-loading-bar *ngIf="(isLoading$ | async)"></app-loading-bar>
1617
<tbody *ngIf="((isLoading$ | async) === false)">
1718
<tr class="d-flex" *ngFor="let customer of customers">
18-
<td class="col col-sm-4">{{ customer.id }}</td>
19-
<td class="col col-sm-5">{{ customer.name }}</td>
20-
<td class="col col-sm-3 text-center">
19+
<td class="col-5">{{ customer.id }}</td>
20+
<td class="col-3">{{ customer.name }}</td>
21+
<td class="col-4 text-center">
2122
<button
2223
(click)="editCustomer(customer.id)"
2324
type="button"
@@ -38,6 +39,7 @@
3839
</tr>
3940
</tbody>
4041
</table>
42+
</div>
4143

4244
<app-dialog
4345
*ngIf="showModal"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.col-3 {
2+
padding: 0rem 0rem 2rem;
3+
overflow: hidden;
4+
}

0 commit comments

Comments
 (0)