aboutsummaryrefslogtreecommitdiff
path: root/src/components/Form/Items/AddNewItemForm.js
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-05-05 10:20:41 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-05-05 10:20:41 +0530
commit499c54e8eb53cf49d8ddae68528eb3a8243101d2 (patch)
treeb0227990ac10376e51423a7886c69e54efa72a29 /src/components/Form/Items/AddNewItemForm.js
parent4df6eaa913737427ddec2561c0ee8c9235f0c95f (diff)
fixed broken API routes and css glitch in form
Diffstat (limited to 'src/components/Form/Items/AddNewItemForm.js')
-rw-r--r--src/components/Form/Items/AddNewItemForm.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/components/Form/Items/AddNewItemForm.js b/src/components/Form/Items/AddNewItemForm.js
index 78d1437..b2099e7 100644
--- a/src/components/Form/Items/AddNewItemForm.js
+++ b/src/components/Form/Items/AddNewItemForm.js
@@ -9,7 +9,6 @@
import React, { useState } from "react";
import "./../Form.scss";
-
const AddNewItemForm = (props) => {
const [itemNameValue, setItemNameValue] = useState("");
const [itemDescValue, setItemDescValue] = useState("");
@@ -83,7 +82,7 @@ const AddNewItemForm = (props) => {
resetAllValues();
}
}>
- <div className={"widePane"}>
+ <div className={"widePane formPane"}>
<label>
Item/Service:
<select
@@ -104,7 +103,7 @@ const AddNewItemForm = (props) => {
<option key={registerItemPrompt}>{registerItemPrompt}</option>
</select>
</label>
-
+
<label>
Description:
<input className={"wideInputBox"} type="text" value={itemDescValue}
@@ -117,7 +116,7 @@ const AddNewItemForm = (props) => {
</label>
</div>
- <div className={"widePane"}>
+ <div className={"widePane formPane"}>
<label>
Quantity:
<input className={"smallInputBox"} type="number" min="1" value={itemQtyValue}
@@ -179,7 +178,7 @@ const AddNewItemForm = (props) => {
</label>
</div>
- <div className={"smallPane"}>
+ <div className={"smallPane formPane"}>
<input type="button"
value="Register New Client"
onClick={() => props.registerPersonFormVisibility(true)}