ok
This commit is contained in:
@@ -19,6 +19,7 @@ const Item = ({
|
||||
onRemoveClick,
|
||||
isAvailable,
|
||||
isBeingEdit,
|
||||
last
|
||||
}) => {
|
||||
const [selectedImage, setSelectedImage] = useState(imageFile);
|
||||
const [previewUrl, setPreviewUrl] = useState(imageUrl);
|
||||
@@ -89,8 +90,8 @@ const Item = ({
|
||||
};
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className={`${styles.item} ${forInvoice ? styles.itemInvoice : ""}`}>
|
||||
<div className={`${!last ? styles.notLast : ""}`}>
|
||||
<div className={`${styles.item} ${forInvoice ? styles.itemInvoice : ""} `}>
|
||||
{!forInvoice && (
|
||||
<div className={styles.imageContainer}>
|
||||
<img
|
||||
@@ -303,7 +304,7 @@ const Item = ({
|
||||
</div>
|
||||
{itemDescription && itemDescription != 'undefined' && itemDescription?.length &&
|
||||
<div>
|
||||
<p style={{ color: '#5f5f5f', fontSize: '3.2vw', padding: '5px' }}>{itemDescription}</p>
|
||||
<p style={{ color: '#5f5f5f', fontSize: '3.2vw', padding: '5px', margin: 0 }}>{itemDescription}</p>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user