У меня проблема с тем, что мои данные в строке немного сдвигаются вправо в каждой строке ... это моя таблица:
<div class="table-container mt-5">
<mat-table #table [dataSource]="dataSource" class="thetable">
<ng-container matColumnDef="descrizione">
<mat-header-cell *matHeaderCellDef>{{'CREATE_BANDO.DESCRIZIONE' | translate}}</mat-header-cell>
<mat-cell *matCellDef="let element">{{element.descrizione}}</mat-cell>
</ng-container>
<ng-container matColumnDef="CIG">
<mat-header-cell *matHeaderCellDef>{{'CREATE_BANDO.CIG' | translate}}</mat-header-cell>
<mat-cell *matCellDef="let element">{{element.cig}}</mat-cell>
</ng-container>
<ng-container matColumnDef="enteGarantito">
<mat-header-cell *matHeaderCellDef>{{'CREATE_BANDO.ENTE_GARANTITO' | translate}}</mat-header-cell>
<mat-cell *matCellDef="let element">{{element.enteGarantitoDto?.ragioneSociale}}</mat-cell>
</ng-container>
<ng-container matColumnDef="dataInizioBando">
<mat-header-cell *matHeaderCellDef>{{'CREATE_BANDO.DATA_INIZIO' | translate}}</mat-header-cell>
<mat-cell *matCellDef="let element">{{element.dataInizioBando | date: 'dd/MM/yyyy'}}</mat-cell>
</ng-container>
<ng-container matColumnDef="dataFineBando">
<mat-header-cell *matHeaderCellDef>{{'CREATE_BANDO.DATA_FINE' | translate}}</mat-header-cell>
<mat-cell *matCellDef="let element">{{element.dataFineBando | date: 'dd/MM/yyyy'}}</mat-cell>
</ng-container>
<ng-container matColumnDef="azioni">
<mat-header-cell *matHeaderCellDef></mat-header-cell>
<mat-cell *matCellDef="let element">
<button
class="btn btn-sm btn-outline-brand m-btn m-btn--icon m-btn--icon-only m-btn--pill" placement="top"
ngbTooltip="{{'GESTIONE_FIDEJUSSIONI.TABLE.DETTAGLIO' | translate}}"
(click)="$event.stopPropagation();modificaBando(element)">
<i class="fas fa-info"></i>
</button>
</mat-cell>
</ng-container>
<mat-header-row *matHeaderRowDef="displayedColumns">
</mat-header-row>
<mat-row *matRowDef="let row; columns:displayedColumns;">
</mat-row>
</mat-table>
</div>
Я пытался поменять местами элементы и ссылки, такие как {{CREATE_BANDO.X}} с простой строкой и отключением * ngIfs, я не думаю, что ошибка логична, возможно.Я хотел спросить, можете ли вы сказать мне, есть ли какая-либо ошибка в угловой материальной части, с которой я не очень знаком с