diff --git a/frontend/src/components/common/ListView.tsx b/frontend/src/components/common/ListView.tsx index 4798f6d7..84f31f92 100644 --- a/frontend/src/components/common/ListView.tsx +++ b/frontend/src/components/common/ListView.tsx @@ -44,6 +44,9 @@ const ListView = ({ columns, rowOptions, data, loading, requestType, currentPage margin: 0 !important; width: 100%; --data-table-library_grid-template-columns: repeat(${columns.length - 1}, minmax(0, 1fr)) 88px; + + overflow: auto; + min-width: 500px; .animate { grid-column: 1 / -1; @@ -95,6 +98,8 @@ const ListView = ({ columns, rowOptions, data, loading, requestType, currentPage bgColor="gray.50" borderLeft="2px solid" borderColor="gray.gray83" + minWidth="500px" + overflow="auto" > {requestType} @@ -122,6 +127,8 @@ const ListView = ({ columns, rowOptions, data, loading, requestType, currentPage gap="16px" color="#4A5568" justifyContent="right" + minWidth="500px" + overflow="scroll" > Page: {currentPage} {currentPage === 1 ? ( diff --git a/frontend/src/pages/ASPDashboard.tsx b/frontend/src/pages/ASPDashboard.tsx index 6b0bfd58..7795a351 100644 --- a/frontend/src/pages/ASPDashboard.tsx +++ b/frontend/src/pages/ASPDashboard.tsx @@ -40,7 +40,7 @@ const Dashboard = (): React.ReactElement => { Use this page to see your upcoming food deliveries - +