Skip to content

Commit

Permalink
fix: more style improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
0xApotheosis committed Nov 5, 2024
1 parent ac141b8 commit f1264e0
Showing 1 changed file with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,20 @@ export const LimitOrderList: FC<LimitOrderListProps> = ({ cardProps, onBack }) =

return (
<Card {...cardProps}>
<CardHeader px={0} pt={4} display='flex' flexDirection='column'>
<Flex width='full' alignItems='center' mb={4} position='relative' mx={4}>
<Box position='absolute' left={0}>
<WithBackButton onBack={onBack} />
</Box>
{onBack && (
{onBack && (
<CardHeader px={0} display='flex' flexDirection='column' pb={0}>
<Flex width='full' alignItems='center' mb={4} position='relative' mx={4}>
<Box position='absolute' left={0}>
<WithBackButton onBack={onBack} />
</Box>
<Heading width='full' textAlign='center' fontSize='md'>
<Text translation='limitOrders.orders' />
</Heading>
)}
</Flex>
</CardHeader>
<Tabs variant='unstyled' display='flex' flexDirection='column' overflowY='auto'>
</Flex>
</CardHeader>
)}

<Tabs variant='unstyled' display='flex' flexDirection='column' overflowY='auto' mt={4}>
<TabList gap={4} flex='0 0 auto' mb={2} ml={4}>
<Tab
p={0}
Expand Down

0 comments on commit f1264e0

Please sign in to comment.