Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: TT-139-Reduce-the-left-margin-on-the-customer-page2
  • Loading branch information
jr-98 authored and scastillo-jp committed Jan 29, 2021
commit 88d48718737599a5d3aaa73a9f63c5bbaaaa5f51
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<tr class="d-flex">
<th class="col-4">Activity ID</th>
<th class="col-5">Activity</th>
<th class="col-3 text-center"></th>
<th class="col-3 text-center">Options</th>
</tr>
</thead>
<app-loading-bar *ngIf="(isLoading$ | async)"></app-loading-bar>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
<table
<div class="table table-responsive">
<table
*ngIf="customers"
class="table table-responsive-sm table-bordered table-striped mb-0"
class="table table-bordered table-striped"
datatable
[dtTrigger]="dtTrigger"
[dtOptions]="dtOptions"
>
<thead class="thead-blue">
<tr class="d-flex">
<th class="col-sm-4">Customer ID</th>
<th class="col-sm-5">Name</th>
<th class="col-sm-3 text-center">Options</th>
<th class="col-5 text-center">Customer ID</th>
<th class="col-3 text-center">Name</th>
<th class="col-4 text-center">Options</th>
</tr>
</thead>
<app-loading-bar *ngIf="(isLoading$ | async)"></app-loading-bar>
<tbody *ngIf="((isLoading$ | async) === false)">
<tr class="d-flex" *ngFor="let customer of customers">
<td class="col col-sm-4">{{ customer.id }}</td>
<td class="col col-sm-5">{{ customer.name }}</td>
<td class="col col-sm-3 text-center">
<td class="col-5">{{ customer.id }}</td>
<td class="col-3">{{ customer.name }}</td>
<td class="col-4 text-center">
<button
(click)="editCustomer(customer.id)"
type="button"
Expand All @@ -38,6 +39,7 @@
</tr>
</tbody>
</table>
</div>

<app-dialog
*ngIf="showModal"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.col-3 .col-4 .col-5 {
padding: 1rem 0rem 2rem;
overflow: hidden;
}