aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-03 02:11:10 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-03 02:11:10 +0530
commit1fcb52a35dd3fb6b2c9d67c6b35dceca6bb070aa (patch)
tree56354d11142d89a26545880ea675736dd602317a
parentf6186b99bca2b25a4c91d6223c08b03c1cccb933 (diff)
fixed datepicker bleeding through floating menu
-rw-r--r--src/components/Form/Items/AddNewItemForm.tsx1
-rw-r--r--src/styles/global.scss2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/components/Form/Items/AddNewItemForm.tsx b/src/components/Form/Items/AddNewItemForm.tsx
index d3c873f..5be2eea 100644
--- a/src/components/Form/Items/AddNewItemForm.tsx
+++ b/src/components/Form/Items/AddNewItemForm.tsx
@@ -57,7 +57,6 @@ const AddNewItemForm: React.FC<Props> = (props) => {
setItemGSTPercentage(i.TotalGST);
setCurrentItem(i)
}
- console.log(currentItem)
// check the item name value and do stuff accordingly
const setItemInfo = (itemName: string) =>
diff --git a/src/styles/global.scss b/src/styles/global.scss
index a1b84ef..fde6aed 100644
--- a/src/styles/global.scss
+++ b/src/styles/global.scss
@@ -55,6 +55,7 @@ body {
width: 100%;
position: fixed;
top: 0; left: 0;
+ z-index: 1;
background-color: $background0;
}
@@ -69,6 +70,7 @@ body {
top: 0; bottom: 0;
left: 0; right: 0;
margin: auto;
+ z-index: 2;
background-color: $background3;
box-shadow: $floatingShadow;