ok
This commit is contained in:
@@ -496,7 +496,7 @@ const ItemLister = ({
|
||||
key={itemTypeId}
|
||||
className={`${styles["item-lister"]} ${isEdit ? styles["fullscreen"] : ""
|
||||
}`}
|
||||
style={{ paddingBottom: isEdit ? "28vh" : "" }}
|
||||
style={{ paddingBottom: isEdit ? "258px" : "" }}
|
||||
>
|
||||
|
||||
{(isEdit && isFirstStep || !isEdit) &&
|
||||
@@ -769,11 +769,11 @@ const ItemLister = ({
|
||||
onClick={toggleAddNewItem}
|
||||
style={{
|
||||
display: "inline-block",
|
||||
height: "159px",
|
||||
fontSize: "50px",
|
||||
height: "120px",
|
||||
fontSize: "20px",
|
||||
}}
|
||||
>
|
||||
+
|
||||
Tambah item +
|
||||
</button>
|
||||
)}
|
||||
{isAddingNewItem && (
|
||||
@@ -813,7 +813,7 @@ const ItemLister = ({
|
||||
/>
|
||||
)}
|
||||
<h3>
|
||||
{item.availability ? "tersedia" : "tidak tersedia"}
|
||||
{item.availability ? "Tersedia" : "Tidak tersedia"}
|
||||
</h3>
|
||||
<div
|
||||
style={{
|
||||
@@ -885,7 +885,7 @@ const ItemLister = ({
|
||||
<div className={styles["itemWrapper"]}>
|
||||
{isEditMode && isEditItem != item.itemId && (
|
||||
<div className={styles["editModeLayout"]}>
|
||||
<div style={{display: 'flex', alignItems: 'center'}}>
|
||||
<div style={{display: 'flex', alignItems: 'center', height: '40px', marginLeft: '7.5vw'}}>
|
||||
{isEditMode && (
|
||||
<Switch
|
||||
onChange={() => handleChange(item.itemId)}
|
||||
@@ -893,11 +893,11 @@ const ItemLister = ({
|
||||
/>
|
||||
)}
|
||||
<h3>
|
||||
{item.availability ? "tersedia" : "tidak tersedia"}
|
||||
{item.availability ? "Tersedia" : "Tidak tersedia"}
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div style={{display: 'flex', alignItems: 'center'}}>
|
||||
<div onClick={() => editItem(item.itemId)} style={{display: 'flex', alignItems: 'center', height: '40px', marginRight: '7.5vw'}}>
|
||||
<div
|
||||
style={{
|
||||
width: '32px',
|
||||
@@ -907,7 +907,6 @@ const ItemLister = ({
|
||||
alignItems: 'center', // Center vertically
|
||||
cursor: 'pointer'
|
||||
}}
|
||||
onClick={() => editItem(item.itemId)}
|
||||
>
|
||||
<svg
|
||||
fill="white"
|
||||
|
||||
Reference in New Issue
Block a user