Skip to content

Commit 577894a

Browse files
committed
Fix extra scrollbar
1 parent 9bd2a19 commit 577894a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

frontend/src/components/common/ListView.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const ListView = ({ columns, rowOptions, data, loading, requestType, currentPage
4646
--data-table-library_grid-template-columns: repeat(${columns.length - 1}, minmax(0, 1fr)) 88px;
4747
4848
overflow: auto;
49-
min-width: 500px;
49+
min-width: 900px;
5050
5151
.animate {
5252
grid-column: 1 / -1;
@@ -98,7 +98,7 @@ const ListView = ({ columns, rowOptions, data, loading, requestType, currentPage
9898
bgColor="gray.50"
9999
borderLeft="2px solid"
100100
borderColor="gray.gray83"
101-
minWidth="500px"
101+
minWidth="900px"
102102
overflow="auto"
103103
>
104104
<Text variant="desktop-body-bold">{requestType}</Text>
@@ -127,8 +127,9 @@ const ListView = ({ columns, rowOptions, data, loading, requestType, currentPage
127127
gap="16px"
128128
color="#4A5568"
129129
justifyContent="right"
130-
minWidth="500px"
131-
overflow="scroll"
130+
minWidth="900px"
131+
overflowX="auto"
132+
overflowY="hidden"
132133
>
133134
<Text fontSize="14px">Page: {currentPage}</Text>
134135
{currentPage === 1 ? (

frontend/src/pages/ASPDashboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const Dashboard = (): React.ReactElement => {
4040
<Text variant="desktop-caption" mb="20px">
4141
Use this page to see your upcoming food deliveries
4242
</Text>
43-
<Tabs defaultIndex={0} w="100%" minWidth="400px" overflow="scroll">
43+
<Tabs defaultIndex={0} w="100%" minWidth="500px" overflow="auto">
4444
<Flex flexDir="row" justifyContent="space-between">
4545
<TabList>
4646
<Tab gap="8px">

0 commit comments

Comments
 (0)