Skip to content

Commit

Permalink
fix: species - the next page button is invisible Greenstand#785 (Gree…
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad-Pischaeff authored Aug 29, 2022
1 parent ed61511 commit 482e17f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/SpeciesTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ const styles = (theme) => ({
operationButton: {
padding: '6px',
},
spacer: {
flex: '0 0 16px',
},
});

const SpeciesTable = (props) => {
Expand Down Expand Up @@ -240,7 +243,7 @@ const SpeciesTable = (props) => {
<TablePagination
count={speciesContext.speciesList.length}
rowsPerPageOptions={[25, 50, 100, { label: 'All', value: -1 }]}
colSpan={3}
classes={{ spacer: classes.spacer }}
page={page}
rowsPerPage={rowsPerPage}
onPageChange={handleChangePage}
Expand Down

0 comments on commit 482e17f

Please sign in to comment.