Skip to content

Commit

Permalink
Fix extra scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
shahanneda committed Sep 5, 2024
1 parent 9bd2a19 commit 577894a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions frontend/src/components/common/ListView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const ListView = ({ columns, rowOptions, data, loading, requestType, currentPage
--data-table-library_grid-template-columns: repeat(${columns.length - 1}, minmax(0, 1fr)) 88px;
overflow: auto;
min-width: 500px;
min-width: 900px;
.animate {
grid-column: 1 / -1;
Expand Down Expand Up @@ -98,7 +98,7 @@ const ListView = ({ columns, rowOptions, data, loading, requestType, currentPage
bgColor="gray.50"
borderLeft="2px solid"
borderColor="gray.gray83"
minWidth="500px"
minWidth="900px"
overflow="auto"
>
<Text variant="desktop-body-bold">{requestType}</Text>
Expand Down Expand Up @@ -127,8 +127,9 @@ const ListView = ({ columns, rowOptions, data, loading, requestType, currentPage
gap="16px"
color="#4A5568"
justifyContent="right"
minWidth="500px"
overflow="scroll"
minWidth="900px"
overflowX="auto"
overflowY="hidden"
>
<Text fontSize="14px">Page: {currentPage}</Text>
{currentPage === 1 ? (
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/ASPDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const Dashboard = (): React.ReactElement => {
<Text variant="desktop-caption" mb="20px">
Use this page to see your upcoming food deliveries
</Text>
<Tabs defaultIndex={0} w="100%" minWidth="400px" overflow="scroll">
<Tabs defaultIndex={0} w="100%" minWidth="500px" overflow="auto">
<Flex flexDir="row" justifyContent="space-between">
<TabList>
<Tab gap="8px">
Expand Down

0 comments on commit 577894a

Please sign in to comment.