fix paresh sidebar + set outline button cancel
This commit is contained in:
@@ -125,7 +125,7 @@ const OrderActions: FC<OrderActionsProps> = ({
|
|||||||
label='لغو سفارش'
|
label='لغو سفارش'
|
||||||
onClick={handleCancelOrder}
|
onClick={handleCancelOrder}
|
||||||
isloading={isChangingStatus && loadingAction === 'cancelOrder'}
|
isloading={isChangingStatus && loadingAction === 'cancelOrder'}
|
||||||
className='bg-red-600 hover:bg-red-700'
|
className='bg-transparent border border-red-500 text-red-500 hover:bg-red-50'
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+1
-1
@@ -52,7 +52,7 @@ const MainRouter: FC = () => {
|
|||||||
<SideBar />
|
<SideBar />
|
||||||
<Header />
|
<Header />
|
||||||
<div className={clx(
|
<div className={clx(
|
||||||
'flex-1 xl:ms-[269px] mt-[68px] xl:mt-[81px]',
|
'flex-1 xl:ms-[269px] mt-[68px] xl:mt-[81px] transition-all duration-300',
|
||||||
hasSubMenu && 'xl:ms-[305px]',
|
hasSubMenu && 'xl:ms-[305px]',
|
||||||
)}>
|
)}>
|
||||||
<div className={clx(
|
<div className={clx(
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ const SideBar: FC = () => {
|
|||||||
}
|
}
|
||||||
<div
|
<div
|
||||||
className={clx(
|
className={clx(
|
||||||
'fixed xl:flex translate-x-[400px] xl:translate-x-0 transition-all ease-in-out opacity-0 invisible xl:visible xl:opacity-100 xl:right-4 right-0 xl:top-4 top-0 xl:bottom-4 bottom-0 xl:rounded-[32px] w-[250px] bg-white flex-col py-12',
|
'fixed xl:flex translate-x-[400px] xl:translate-x-0 transition-all ease-in-out opacity-0 invisible xl:visible xl:opacity-100 xl:right-4 right-0 xl:top-4 top-0 xl:bottom-4 bottom-0 xl:rounded-[32px] w-[250px] bg-white flex-col py-12 duration-300',
|
||||||
openSidebar && 'opacity-100 visible -translate-x-[0px] block z-40',
|
openSidebar && 'opacity-100 visible -translate-x-[0px] block z-40',
|
||||||
hasSubMenu && 'w-24 !rounded-tl-none !rounded-bl-none'
|
hasSubMenu && 'w-24 !rounded-tl-none !rounded-bl-none'
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user