Spaces:
Sleeping
Sleeping
Update templates/menu.html
Browse files- templates/menu.html +7 -4
templates/menu.html
CHANGED
@@ -27,18 +27,21 @@
|
|
27 |
overflow: hidden;
|
28 |
background-color: #fff;
|
29 |
margin: auto;
|
|
|
|
|
30 |
}
|
31 |
|
32 |
.menu-image {
|
33 |
-
height: 200px;
|
34 |
-
width: 100%;
|
35 |
-
object-fit: cover;
|
36 |
-
border-radius: 15px 15px 0 0;
|
37 |
}
|
38 |
|
39 |
.card-title {
|
40 |
font-size: 1.2rem;
|
41 |
font-weight: bold;
|
|
|
42 |
}
|
43 |
|
44 |
.card-text {
|
|
|
27 |
overflow: hidden;
|
28 |
background-color: #fff;
|
29 |
margin: auto;
|
30 |
+
display: flex;
|
31 |
+
flex-direction: column;
|
32 |
}
|
33 |
|
34 |
.menu-image {
|
35 |
+
height: 200px; /* Fixed height */
|
36 |
+
width: 100%; /* Full width of the card */
|
37 |
+
object-fit: cover; /* Ensure the image covers the area and maintains the aspect ratio */
|
38 |
+
border-radius: 15px 15px 0 0; /* Rounded top corners */
|
39 |
}
|
40 |
|
41 |
.card-title {
|
42 |
font-size: 1.2rem;
|
43 |
font-weight: bold;
|
44 |
+
margin: 10px 0;
|
45 |
}
|
46 |
|
47 |
.card-text {
|