mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-18 07:52:23 +01:00
(ui) small fixes
This commit is contained in:
parent
dca2b7f5b3
commit
90005c2643
@ -39,6 +39,7 @@ export const CloneProductModal: React.FC<CloneProductModalProps> = ({ isOpen, to
|
||||
|
||||
return (
|
||||
<FabModal title={t('app.admin.store.clone_product_model.clone_product')}
|
||||
closeButton
|
||||
isOpen={isOpen}
|
||||
toggleModal={toggleModal}
|
||||
width={ModalSize.medium}
|
||||
|
@ -247,7 +247,7 @@ export const ProductForm: React.FC<ProductFormProps> = ({ product, title, onSucc
|
||||
<div className="grpBtn">
|
||||
{product.id &&
|
||||
<>
|
||||
<FabButton className="main-action-btn" onClick={toggleCloneModal}>{t('app.admin.store.product_form.clone')}</FabButton>
|
||||
<FabButton onClick={toggleCloneModal}>{t('app.admin.store.product_form.clone')}</FabButton>
|
||||
<CloneProductModal isOpen={openCloneModal} toggleModal={toggleCloneModal} product={product} onSuccess={onSuccess} onError={onError} />
|
||||
</>
|
||||
}
|
||||
|
@ -35,6 +35,7 @@
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user