Commit a68cc32f authored by Darrick Yong's avatar Darrick Yong

start final style

parent bb36c8dd
.header { .header {
display: flex; display: flex;
align-items: center; align-items: center;
padding: 10px 20px;
height: 50px; height: 50px;
background: gray; background: gray;
color: white; color: white;
font-size: 28px;
font-weight: 700;
} }
\ No newline at end of file
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
margin-bottom: 2px; margin-bottom: 2px;
background: blue; background: blue;
color: white; color: white;
font-size: 20px; font-size: 24px;
font-weight: 700;
} }
.order-index .oii ~ .oii { .order-index .oii ~ .oii {
margin-top: 15px; margin-top: 15px;
...@@ -19,6 +20,7 @@ ...@@ -19,6 +20,7 @@
min-height: 70px; min-height: 70px;
background: lightgray; background: lightgray;
border-radius: 5px; border-radius: 5px;
font-size: 24px;
} }
.oii-container { .oii-container {
...@@ -58,7 +60,8 @@ ...@@ -58,7 +60,8 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
width: 180px; width: 200px;
font-size: 20px;
} }
.oii-buttons > div { .oii-buttons > div {
...@@ -115,7 +118,7 @@ ...@@ -115,7 +118,7 @@
.order-details { .order-details {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
/* min-height: 0px; */ font-size: 18px;
max-height: 0px; max-height: 0px;
overflow: hidden; overflow: hidden;
transition: max-height 1s ease-out; transition: max-height 1s ease-out;
......
...@@ -10,7 +10,7 @@ const Search = ({ orders, setOrdersToShow, setFiltersOn }) => { ...@@ -10,7 +10,7 @@ const Search = ({ orders, setOrdersToShow, setFiltersOn }) => {
const [searchBy, setSearchBy] = useState(""); const [searchBy, setSearchBy] = useState("");
const [error, setError] = useState(""); const [error, setError] = useState("");
const searchOptions = ["by Warehouse ID", "by Order ID"]; const searchOptions = ["Warehouse ID", "Order ID"];
const search = () => { const search = () => {
if (!searchInput.length) { if (!searchInput.length) {
...@@ -47,9 +47,9 @@ const Search = ({ orders, setOrdersToShow, setFiltersOn }) => { ...@@ -47,9 +47,9 @@ const Search = ({ orders, setOrdersToShow, setFiltersOn }) => {
return ( return (
<div className="search"> <div className="search">
<div className="text">Search</div> <div className="text">Search:</div>
<Select <Select
defaultVal={"By:"} defaultVal={"Choose one.."}
value={searchBy} value={searchBy}
options={searchOptions} options={searchOptions}
onChange={(e) => { onChange={(e) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment