Selaa lähdekoodia

Update the banner to not make things underneath uninteractable.

Lee Morgan 5 vuotta sitten
vanhempi
sitoutus
e0cdb4683b
2 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 0 1
      controllers/orderData.js
  2. 3 0
      views/shared/shared.css

+ 0 - 1
controllers/orderData.js

@@ -124,7 +124,6 @@ module.exports = {
             req.session.error = "MUST BE LOGGED IN TO DO THAT";
             return res.redirect("/");
         }
-        console.log(req.body);
 
         let newOrder = new Order(req.body);
         newOrder.merchant = req.session.user;

+ 3 - 0
views/shared/shared.css

@@ -296,6 +296,8 @@ Banner
     width: 100%;
     position: absolute;
     margin-top: 15px;
+    pointer-events: none;
+    z-index: 100;
 }
 
     .banner{
@@ -334,6 +336,7 @@ Banner
             right: -10px;
             cursor: pointer;
             color: white;
+            pointer-events: all;
         }
 
 /* Footer Partial */