From 2d25f296449369b3307e1b46872d59fa8abe5114 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Mon, 22 Aug 2022 15:01:57 +0100 Subject: [PATCH] Fixed #2622 - Datatable rows are not the full width in scroll both mode --- src/components/datatable/DataTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/datatable/DataTable.vue b/src/components/datatable/DataTable.vue index 0d084f07c..d838e4a6e 100755 --- a/src/components/datatable/DataTable.vue +++ b/src/components/datatable/DataTable.vue @@ -2043,7 +2043,7 @@ export default { .p-datatable-scrollable-horizontal .p-datatable-thead > tr > th .p-datatable-scrollable-horizontal .p-datatable-tbody > tr > td, .p-datatable-scrollable-horizontal .p-datatable-tfoot > tr > td { - flex: 0 0 auto; + flex: 1 0 auto; } .p-datatable-flex-scrollable {