diff --git a/src/app/components/pab-table/pab-table.component.html b/src/app/components/pab-table/pab-table.component.html index f32c43fd141230f0f59b63bea01cee72203fdc26..70dfaa219dca2d79983fa9227181e39369f43d90 100644 --- a/src/app/components/pab-table/pab-table.component.html +++ b/src/app/components/pab-table/pab-table.component.html @@ -53,8 +53,7 @@ </div> - <p-table id="geometry" [columns]="cols" [value]="rows" class="pab-data-table" [resizableColumns]="false" - [autoLayout]="true" [scrollable]="false"> + <p-table id="geometry" [columns]="cols" [value]="rows" class="pab-data-table"> <ng-template pTemplate="header" let-columns> <tr> diff --git a/src/styles.scss b/src/styles.scss index 78510df55c324b234fa682065e824d3fc40c26f8..cdcf478a9b498d3eadaef36a4ab1caf91feaaca3 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -203,7 +203,7 @@ field-set { @extend .bg-error; } - .p-datatable.p-component.p-datatable-auto-layout.p-datatable-responsive-stack { + div { table.p-datatable-table { thead.p-datatable-thead { > tr { @@ -232,7 +232,8 @@ field-set { } > td { &:nth-child(1) { - width: 50px; + width: 12.5%; + min-width: 50px; } font-size: .7em; &.readonly-cell {