WEB-580 scroll bar (#3001)
This commit is contained in:
+2
@@ -42,6 +42,7 @@
|
|||||||
|
|
||||||
<mat-card class="data-table-card m-t-10">
|
<mat-card class="data-table-card m-t-10">
|
||||||
<mat-card-content>
|
<mat-card-content>
|
||||||
|
<div class="table-scroll-wrapper">
|
||||||
<table #dataTable mat-table [dataSource]="datatableData" class="mat-elevation-z2 m-b-25">
|
<table #dataTable mat-table [dataSource]="datatableData" class="mat-elevation-z2 m-b-25">
|
||||||
@for (datatableColumn of datatableColumns; track datatableColumn; let i = $index) {
|
@for (datatableColumn of datatableColumns; track datatableColumn; let i = $index) {
|
||||||
<ng-container [matColumnDef]="datatableColumn">
|
<ng-container [matColumnDef]="datatableColumn">
|
||||||
@@ -69,6 +70,7 @@
|
|||||||
<tr mat-header-row *matHeaderRowDef="datatableColumns"></tr>
|
<tr mat-header-row *matHeaderRowDef="datatableColumns"></tr>
|
||||||
<tr mat-row *matRowDef="let row; columns: datatableColumns" class="data-row"></tr>
|
<tr mat-row *matRowDef="let row; columns: datatableColumns" class="data-row"></tr>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+5
@@ -23,6 +23,11 @@
|
|||||||
|
|
||||||
.mat-card-content {
|
.mat-card-content {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
|
.table-scroll-wrapper {
|
||||||
|
overflow-x: auto;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user