Skip to content

Commit 6f7ec33

Browse files
authored
Add class to pagination wrapper (#3780)
* Add class to pagination wrapper * Fix linting
1 parent 12c55bd commit 6f7ec33

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/eds-data-grid-react/src/EdsDataGrid.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,10 @@ function EdsDataGridInner<T>(
555555
{externalPaginator
556556
? externalPaginator
557557
: enablePagination && (
558-
<div style={{ maxWidth: `${table.getTotalSize()}px` }}>
558+
<div
559+
className="table-pagination"
560+
style={{ maxWidth: `${table.getTotalSize()}px` }}
561+
>
559562
<Pagination
560563
totalItems={table.getFilteredRowModel().rows.length}
561564
withItemIndicator={true}

0 commit comments

Comments
 (0)