Update templates/combined_summary.html
Browse files- templates/combined_summary.html +26 -14
templates/combined_summary.html
CHANGED
|
@@ -83,33 +83,45 @@
|
|
| 83 |
}
|
| 84 |
|
| 85 |
/* Mobile Optimization */
|
| 86 |
-
/* Mobile Optimization */
|
| 87 |
@media (max-width: 768px) {
|
| 88 |
-
.
|
| 89 |
-
|
| 90 |
text-align: center;
|
| 91 |
}
|
| 92 |
|
| 93 |
-
.item-
|
| 94 |
width: 100%;
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
|
|
|
|
|
|
| 98 |
}
|
| 99 |
|
| 100 |
-
.
|
| 101 |
-
width: 100%;
|
| 102 |
-
|
|
|
|
| 103 |
}
|
| 104 |
|
| 105 |
.ingredient img {
|
| 106 |
-
width: 100%;
|
| 107 |
-
max-height: 200px; /*
|
| 108 |
-
object-fit: contain;
|
| 109 |
-
border-radius: 15px 15px 0 0;
|
| 110 |
}
|
| 111 |
}
|
| 112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
@media (min-width: 768px) {
|
| 114 |
.item-section {
|
| 115 |
width: 48%;
|
|
|
|
| 83 |
}
|
| 84 |
|
| 85 |
/* Mobile Optimization */
|
|
|
|
| 86 |
@media (max-width: 768px) {
|
| 87 |
+
.reward-status {
|
| 88 |
+
display: block; /* Make the items stack on top of each other */
|
| 89 |
text-align: center;
|
| 90 |
}
|
| 91 |
|
| 92 |
+
.item-section {
|
| 93 |
width: 100%;
|
| 94 |
+
display: flex;
|
| 95 |
+
flex-direction: column; /* Ensure items are stacked vertically */
|
| 96 |
+
align-items: center; /* Center the content */
|
| 97 |
+
justify-content: center;
|
| 98 |
+
margin-bottom: 20px;
|
| 99 |
}
|
| 100 |
|
| 101 |
+
.item-image {
|
| 102 |
+
width: 100%; /* Ensure it takes full width */
|
| 103 |
+
max-height: 400px; /* Limit max height */
|
| 104 |
+
object-fit: contain; /* Keep the aspect ratio intact */
|
| 105 |
}
|
| 106 |
|
| 107 |
.ingredient img {
|
| 108 |
+
width: 100%; /* Ensure it takes full width */
|
| 109 |
+
max-height: 200px; /* Limit max height */
|
| 110 |
+
object-fit: contain; /* Maintain aspect ratio */
|
| 111 |
+
border-radius: 15px 15px 0 0; /* Rounded top corners */
|
| 112 |
}
|
| 113 |
}
|
| 114 |
|
| 115 |
+
/* General Image Styles (Desktop and Mobile) */
|
| 116 |
+
.item-image {
|
| 117 |
+
width: 100%; /* Ensure image takes full container width */
|
| 118 |
+
height: auto; /* Let the height be calculated automatically */
|
| 119 |
+
max-height: 350px; /* Limit max height to avoid stretching */
|
| 120 |
+
object-fit: contain; /* Keep the aspect ratio intact */
|
| 121 |
+
border-radius: 8px;
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
|
| 125 |
@media (min-width: 768px) {
|
| 126 |
.item-section {
|
| 127 |
width: 48%;
|