fix design bug

This commit is contained in:
hamid zarghami
2025-11-01 12:16:34 +03:30
parent 0dcfe023f0
commit 1465a9a9d4
@@ -1,5 +1,4 @@
import { type FC } from 'react'
import { Add } from 'iconsax-react'
import { Checkbox } from '@/components/ui/checkbox'
import UploadBoxDraggble from '@/components/UploadBoxDraggble'
import SwitchComponent from '@/components/Switch'
@@ -15,14 +14,8 @@ type Props = {
const CreateFoodSidebar: FC<Props> = (props: Props) => {
return (
<div className='bg-white w-[300px] text-xs h-fit px-5 py-7 rounded-3xl'>
<div className='flex items-center justify-between'>
<div className='text-sm font-bold'>ثبت غذا</div>
<button className='flex items-center justify-center w-8 h-8 bg-black rounded-lg'>
<Add size={20} color='white' />
</button>
</div>
<div className='mt-8'>
<div>
<div className='flex items-center justify-between'>
<div>وضعیت سرویس</div>
<SwitchComponent