aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKumar Priyansh <[email protected]>2019-05-31 19:09:12 +0700
committerKumar Priyansh <[email protected]>2019-05-31 19:09:12 +0700
commitad6af6bc3604fb29151e192c5693885d69e0037f (patch)
tree22993a5bef6149ed726bfe7eefad6137755d75f5
parent7a3918abd1f2610ec5b339f2bc8100a0f00ac4fd (diff)
downloadfirebase-ecommerce-ad6af6bc3604fb29151e192c5693885d69e0037f.tar.xz
firebase-ecommerce-ad6af6bc3604fb29151e192c5693885d69e0037f.zip
Updated Dashboard Product list Styling
-rw-r--r--dashboard/index.html11
-rw-r--r--shared/Dashboard.js2
2 files changed, 12 insertions, 1 deletions
diff --git a/dashboard/index.html b/dashboard/index.html
index 136decd..4c07e8e 100644
--- a/dashboard/index.html
+++ b/dashboard/index.html
@@ -83,6 +83,17 @@
text-overflow: ellipsis;
margin-bottom: -10px;
}
+ .productDetail {
+ display: grid;
+ grid-template-columns: auto auto;
+ padding: 50px 0px;
+ }
+ .picture {
+ width: 100%;
+ background-repeat: no-repeat;
+ background-size: contain;
+ background-position: center;
+ }
</style>
</head>
<body>
diff --git a/shared/Dashboard.js b/shared/Dashboard.js
index 6c9d7af..2bec588 100644
--- a/shared/Dashboard.js
+++ b/shared/Dashboard.js
@@ -40,7 +40,7 @@ $(document).ready(function(){
loadAllProducts()
}
function loadProduct (productid) {
-
+ console.log(productid)
}
function showErrorDiv() {