nagasurendra commited on
Commit
56bc8b9
·
verified ·
1 Parent(s): 3995998

Update templates/cart.html

Browse files
Files changed (1) hide show
  1. templates/cart.html +9 -6
templates/cart.html CHANGED
@@ -26,12 +26,15 @@
26
  }
27
 
28
  .cart-item {
29
- display: flex; /* Flexbox layout for the cart item */
30
- align-items: flex-start; /* Ensure the image and content align at the top */
31
- justify-content: space-between; /* Spread image and content across the container */
32
- border-bottom: 1px solid red;
33
- padding: 15px 0;
34
- }
 
 
 
35
  .cart-item-actions-top {
36
  text-align: right; /* Aligns the trash icon to the top-right corner */
37
  margin-bottom: 10px; /* Adds space between the image and the trash icon */
 
26
  }
27
 
28
  .cart-item {
29
+ display: flex;
30
+ align-items: flex-start;
31
+ justify-content: space-between;
32
+ border: 1px solid black; /* Border around all four sides of the cart item */
33
+ padding: 15px; /* Padding inside the border */
34
+ box-sizing: border-box; /* Ensure the border is included in the total width/height */
35
+ min-height: 100px; /* Ensure the cart item div has enough height for content */
36
+ }
37
+
38
  .cart-item-actions-top {
39
  text-align: right; /* Aligns the trash icon to the top-right corner */
40
  margin-bottom: 10px; /* Adds space between the image and the trash icon */