Skip to content

Commit 768ebed

Browse files
committed
left align
1 parent 3a6e723 commit 768ebed

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

frontend/src/app/components/dashboard/db-table/db-table.component.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
}
236236

237237
.db-table_withActions {
238-
grid-template-columns: 48px repeat(var(--colCount), auto) var(--lastColumnWidth);
238+
grid-template-columns: 48px repeat(var(--colCount), fit-content(100%)) minmax(var(--lastColumnWidth), auto);
239239
}
240240

241241
.db-table_withoutActions {
@@ -430,6 +430,10 @@ th.mat-header-cell, td.mat-cell {
430430
}
431431
}
432432

433+
.db-table-cell-actions, .db-table-header-actions {
434+
justify-content: flex-end;
435+
}
436+
433437
.table-cell-content {
434438
overflow: hidden;
435439
white-space: nowrap;

frontend/src/app/components/dashboard/db-table/db-table.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ <h2 class="mat-h2 table-name">{{ displayName }}</h2>
256256
</ng-container>
257257

258258
<ng-container matColumnDef="actions" [stickyEnd]="true">
259-
<mat-header-cell *matHeaderCellDef>Actions</mat-header-cell>
259+
<mat-header-cell *matHeaderCellDef class="db-table-header-actions">Actions</mat-header-cell>
260260

261261
<mat-cell *matCellDef="let element; let i = index" class="db-table-cell-actions">
262262
<ng-container *ngIf="tableData.tableActions && tableData.tableActions.length">

0 commit comments

Comments
 (0)