diff --git a/src/app/components/pab-table/pab-table.component.html b/src/app/components/pab-table/pab-table.component.html index 98e5b2d43b2864eaf57ce1e2efeae81e4bc253ef..053f92e43b9213ac33c8607e827773cf57932d49 100644 --- a/src/app/components/pab-table/pab-table.component.html +++ b/src/app/components/pab-table/pab-table.component.html @@ -54,7 +54,7 @@ <p-table id="geometry" [columns]="cols" [value]="rows" class="pab-data-table" [resizableColumns]="false" - [autoLayout]="false" scrollable="false"> + [autoLayout]="true" [scrollable]="false"> <ng-template pTemplate="header" let-columns> <tr> diff --git a/src/styles.scss b/src/styles.scss index 37803da06db680d78398701bf7b2d82bf2a5363d..78510df55c324b234fa682065e824d3fc40c26f8 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -203,7 +203,7 @@ field-set { @extend .bg-error; } - .p-datatable.p-component.p-datatable-scrollable.p-datatable-scrollable-vertical.p-datatable-responsive-stack { + .p-datatable.p-component.p-datatable-auto-layout.p-datatable-responsive-stack { table.p-datatable-table { thead.p-datatable-thead { > tr {