fix design bug
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
import { type FC } from 'react'
|
import { type FC } from 'react'
|
||||||
import { Add } from 'iconsax-react'
|
|
||||||
import { Checkbox } from '@/components/ui/checkbox'
|
import { Checkbox } from '@/components/ui/checkbox'
|
||||||
import UploadBoxDraggble from '@/components/UploadBoxDraggble'
|
import UploadBoxDraggble from '@/components/UploadBoxDraggble'
|
||||||
import SwitchComponent from '@/components/Switch'
|
import SwitchComponent from '@/components/Switch'
|
||||||
@@ -15,14 +14,8 @@ type Props = {
|
|||||||
const CreateFoodSidebar: FC<Props> = (props: Props) => {
|
const CreateFoodSidebar: FC<Props> = (props: Props) => {
|
||||||
return (
|
return (
|
||||||
<div className='bg-white w-[300px] text-xs h-fit px-5 py-7 rounded-3xl'>
|
<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 className='flex items-center justify-between'>
|
||||||
<div>وضعیت سرویس</div>
|
<div>وضعیت سرویس</div>
|
||||||
<SwitchComponent
|
<SwitchComponent
|
||||||
|
|||||||
Reference in New Issue
Block a user