Skip to content

Commit

Permalink
fix: recent sales responsive on ipad view (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
devshinthant authored Nov 9, 2024
1 parent a9ed5ac commit ee55c19
Showing 1 changed file with 45 additions and 29 deletions.
74 changes: 45 additions & 29 deletions src/pages/dashboard/components/recent-sales.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,64 +3,80 @@ import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'
export function RecentSales() {
return (
<div className='space-y-8'>
<div className='flex items-center'>
<div className='flex items-center gap-4'>
<Avatar className='h-9 w-9'>
<AvatarImage src='/avatars/01.png' alt='Avatar' />
<AvatarFallback>OM</AvatarFallback>
</Avatar>
<div className='ml-4 space-y-1'>
<p className='text-sm font-medium leading-none'>Olivia Martin</p>
<p className='text-sm text-muted-foreground'>
[email protected]
</p>
<div className='flex flex-1 flex-wrap items-center justify-between'>
<div className='space-y-1'>
<p className='text-sm font-medium leading-none'>Olivia Martin</p>
<p className='text-sm text-muted-foreground'>
[email protected]
</p>
</div>
<div className='font-medium'>+$1,999.00</div>
</div>
<div className='ml-auto font-medium'>+$1,999.00</div>
</div>
<div className='flex items-center'>
<div className='flex items-center gap-4'>
<Avatar className='flex h-9 w-9 items-center justify-center space-y-0 border'>
<AvatarImage src='/avatars/02.png' alt='Avatar' />
<AvatarFallback>JL</AvatarFallback>
</Avatar>
<div className='ml-4 space-y-1'>
<p className='text-sm font-medium leading-none'>Jackson Lee</p>
<p className='text-sm text-muted-foreground'>[email protected]</p>
<div className='flex flex-1 flex-wrap items-center justify-between'>
<div className='space-y-1'>
<p className='text-sm font-medium leading-none'>Jackson Lee</p>
<p className='text-sm text-muted-foreground'>
[email protected]
</p>
</div>
<div className='font-medium'>+$39.00</div>
</div>
<div className='ml-auto font-medium'>+$39.00</div>
</div>
<div className='flex items-center'>
<div className='flex items-center gap-4'>
<Avatar className='h-9 w-9'>
<AvatarImage src='/avatars/03.png' alt='Avatar' />
<AvatarFallback>IN</AvatarFallback>
</Avatar>
<div className='ml-4 space-y-1'>
<p className='text-sm font-medium leading-none'>Isabella Nguyen</p>
<p className='text-sm text-muted-foreground'>
[email protected]
</p>
<div className='flex flex-1 flex-wrap items-center justify-between'>
<div className='space-y-1'>
<p className='text-sm font-medium leading-none'>Isabella Nguyen</p>
<p className='text-sm text-muted-foreground'>
[email protected]
</p>
</div>
<div className='font-medium'>+$299.00</div>
</div>
<div className='ml-auto font-medium'>+$299.00</div>
</div>
<div className='flex items-center'>

<div className='flex items-center gap-4'>
<Avatar className='h-9 w-9'>
<AvatarImage src='/avatars/04.png' alt='Avatar' />
<AvatarFallback>WK</AvatarFallback>
</Avatar>
<div className='ml-4 space-y-1'>
<p className='text-sm font-medium leading-none'>William Kim</p>
<p className='text-sm text-muted-foreground'>[email protected]</p>
<div className='flex flex-1 flex-wrap items-center justify-between'>
<div className='space-y-1'>
<p className='text-sm font-medium leading-none'>William Kim</p>
<p className='text-sm text-muted-foreground'>[email protected]</p>
</div>
<div className='font-medium'>+$99.00</div>
</div>
<div className='ml-auto font-medium'>+$99.00</div>
</div>
<div className='flex items-center'>

<div className='flex items-center gap-4'>
<Avatar className='h-9 w-9'>
<AvatarImage src='/avatars/05.png' alt='Avatar' />
<AvatarFallback>SD</AvatarFallback>
</Avatar>
<div className='ml-4 space-y-1'>
<p className='text-sm font-medium leading-none'>Sofia Davis</p>
<p className='text-sm text-muted-foreground'>[email protected]</p>
<div className='flex flex-1 flex-wrap items-center justify-between'>
<div className='space-y-1'>
<p className='text-sm font-medium leading-none'>Sofia Davis</p>
<p className='text-sm text-muted-foreground'>
[email protected]
</p>
</div>
<div className='font-medium'>+$39.00</div>
</div>
<div className='ml-auto font-medium'>+$39.00</div>
</div>
</div>
)
Expand Down

0 comments on commit ee55c19

Please sign in to comment.