Browse Source

Improve formatting in the table of accounts component

pull/5278/head
David Requeno 3 weeks ago
parent
commit
405fc14b20
  1. 17
      libs/ui/src/lib/accounts-table/accounts-table.component.html

17
libs/ui/src/lib/accounts-table/accounts-table.component.html

@ -1,13 +1,13 @@
@if (showActions) { @if (showActions) {
<div class="d-flex justify-content-end"> <div class="d-flex justify-content-end">
<button <button
mat-stroked-button
class="align-items-center d-flex" class="align-items-center d-flex"
mat-stroked-button
[disabled]="dataSource?.data.length < 2" [disabled]="dataSource?.data.length < 2"
(click)="onTransferBalance()" (click)="onTransferBalance()"
> >
<ion-icon class="mr-2" name="arrow-redo-outline" /> <ion-icon class="mr-2" name="arrow-redo-outline" />
<ng-container i18n>Transfer Cash Balance</ng-container> <ng-container i18n>Transfer Cash Balance</ng-container>...
</button> </button>
</div> </div>
} }
@ -39,12 +39,7 @@
</ng-container> </ng-container>
<ng-container matColumnDef="account"> <ng-container matColumnDef="account">
<th <th *matHeaderCellDef class="px-1" mat-header-cell mat-sort-header="name">
*matHeaderCellDef
class="px-1"
mat-header-cell
mat-sort-header="name"
>
<ng-container i18n>Name</ng-container> <ng-container i18n>Name</ng-container>
</th> </th>
<td *matCellDef="let element" class="px-1" mat-cell> <td *matCellDef="let element" class="px-1" mat-cell>
@ -76,11 +71,7 @@
> >
{{ element.currency }} {{ element.currency }}
</td> </td>
<td <td *matFooterCellDef class="d-none d-lg-table-cell px-1" mat-footer-cell>
*matFooterCellDef
class="d-none d-lg-table-cell px-1"
mat-footer-cell
>
{{ baseCurrency }} {{ baseCurrency }}
</td> </td>
</ng-container> </ng-container>

Loading…
Cancel
Save