ok
This commit is contained in:
@@ -16,6 +16,7 @@ import {
|
||||
} from "../helpers/itemHelper.js";
|
||||
import ItemType from "./ItemType.js";
|
||||
import { createItemType } from "../helpers/itemHelper.js";
|
||||
import ItemConfig from "./ItemConfig.js"
|
||||
|
||||
const ItemLister = ({
|
||||
index,
|
||||
@@ -881,20 +882,7 @@ const ItemLister = ({
|
||||
// >
|
||||
// batal
|
||||
// </button>
|
||||
<div style={{ position: 'fixed', width: '100vw', height: '100vh', left: 0, bottom: 0, display: 'flex', flexDirection: 'column-reverse', zIndex: 200 }}>
|
||||
<div style={{ display: 'flex', flexDirection: 'column',padding: '15px', height: '40%', backgroundColor: '#bdbdbd', borderRadius: '20px 20px 0 0' }}>
|
||||
<div style={{display: 'flex'}}>
|
||||
<div style={{width: '26vw', height: '26vw'}}>
|
||||
<img style={{width: '100%', height: '100%', borderRadius: '10px'}}src={getImageUrl(item.image)}></img>
|
||||
</div>
|
||||
<div style={{width: '72%', height: '26vw', display: 'flex', justifyContent: 'center', alignItems: 'center'}}>
|
||||
<div style={{width: '140px', height: '40px', alignContent: 'center', textAlign: 'center', borderRadius: '10px', border: '1px solid black'}}>
|
||||
Ganti gambar
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<ItemConfig Item={item} cancelEdit={()=>editItem(0)}/>
|
||||
)}
|
||||
<div className={styles["itemWrapper"]}>
|
||||
{isEditMode && isEditItem != item.itemId && (
|
||||
|
||||
Reference in New Issue
Block a user