This commit is contained in:
Janis M
2022-03-30 11:26:28 +02:00
parent e51a7d0702
commit f00b090415
2 changed files with 10 additions and 13 deletions

View File

@@ -17,7 +17,7 @@
<p><b>Adresse: </b></p>
</p>
</div>
<div id="order-info">
<h3>Ihre Bestellungen</h3>
<table>
@@ -46,7 +46,6 @@
</table>
</div>
</div>
</body>
</html>

View File

@@ -7,14 +7,14 @@
<%- include('partials/header'); %>
<style>
html {
height: 100%;
overflow-x: auto;
overflow-y: scroll;
margin: 0;
background-color: white;
height: 100%;
overflow-x: auto;
overflow-y: scroll;
margin: 0;
background-color: white;
}
body {
min-height: 100%;
min-height: 100%;
}
.grid-container {
display: flex;
@@ -66,7 +66,7 @@
<div class="grid-container">
<div class="grid-item">
<% let randomNr = Math.floor(Math.random() * products.length); %>
<%= products[randomNr].name %>
<p><%= products[randomNr].name %></p>
<img src="https://m.media-amazon.com/images/I/815eDw--FQS._AC_SL1500_.jpg" style='height: 100%; width: 100%; object-fit: contain' onclick="window.open('/product/<%- products[randomNr].id%>','_self')">
</div>
<div class="grid-item">
@@ -77,15 +77,13 @@
</div>
<div class="grid-item">
<% let randomNr3 = Math.floor(Math.random() * products.length); %>
<%= products[randomNr3].name %>
<p><%= products[randomNr3].name %></p>
<img src="https://m.media-amazon.com/images/I/815eDw--FQS._AC_SL1500_.jpg" style='height: 100%; width: 100%; object-fit: contain' onclick="window.open('/product/"<%- products[randomNr3].id%>','_self')">
</div>
<div class="grid-item">
<% let randomNr4 = Math.floor(Math.random() * products.length); %>
<%= products[randomNr4].name %>
<p><%= products[randomNr4].name %></p>
<img src="https://m.media-amazon.com/images/I/815eDw--FQS._AC_SL1500_.jpg" style='height: 100%; width: 100%; object-fit: contain' onclick="window.open('/product/"<%- products[randomNr4].id%>','_self')">
</div>
</div>
<div class="grid-container" style="margin-bottom: 100px;">