Fix: Table Pagination Action Button Gap

This commit is contained in:
Aryaman Kumar Sharma committed 2025-03-21 02:56:42 +05:30
1 parent 704d5d9173
commit d6eb09427b
1 file changed
+4 -1
@@ -4,6 +4,7 @@ import LeftArrowDouble from "../../../../assets/icons/left-arrow-double.svg?reac
import RightArrowDouble from "../../../../assets/icons/right-arrow-double.svg?react";
import LeftArrow from "../../../../assets/icons/left-arrow.svg?react";
import RightArrow from "../../../../assets/icons/right-arrow.svg?react";
import { useTheme } from "@emotion/react";
TablePaginationActions.propTypes = {
count: PropTypes.number.isRequired,
@@ -39,8 +40,10 @@ function TablePaginationActions({ count, page, rowsPerPage, onPageChange }) {
onPageChange(event, Math.max(0, Math.ceil(count / rowsPerPage) - 1));
};
const theme = useTheme();
return (
<Box sx={{ flexShrink: 0, ml: "24px" }}>
<Box sx={{ flexShrink: 0, ml: "24px", display: "flex", gap: theme.spacing(2) }}>
<Button
variant="group"
onClick={handleFirstPageButtonClick}