Skip to content

Commit

Permalink
chore: make limit order list scrollable (#8071)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xApotheosis authored Nov 4, 2024
1 parent 7e129cb commit 3e1cf00
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ export const LimitOrderList: FC<LimitOrderListProps> = ({ cardProps }) => {

return (
<Card {...cardProps}>
<CardHeader px={6} pt={4}>
<Tabs variant='unstyled'>
<TabList gap={4}>
<CardHeader px={0} pt={4} h='full'>
<Tabs variant='unstyled' display='flex' flexDirection='column' h='full'>
<TabList gap={4} flex='0 0 auto' mb={2} ml={6}>
<Tab
p={0}
fontSize='md'
Expand All @@ -79,7 +79,7 @@ export const LimitOrderList: FC<LimitOrderListProps> = ({ cardProps }) => {
</Tab>
</TabList>

<TabPanels>
<TabPanels flex='1' overflowY='auto' minH={0} px={2}>
<TabPanel px={0}>
<CardBody px={0} overflowY='auto' flex='1 1 auto'>
{Array.from({ length: 3 }).map((_, index) => (
Expand Down

0 comments on commit 3e1cf00

Please sign in to comment.