Update templates/menu.html
Browse files- templates/menu.html +8 -1
templates/menu.html
CHANGED
@@ -50,7 +50,7 @@
|
|
50 |
.menu-video {
|
51 |
height: 200px;
|
52 |
width: 100%;
|
53 |
-
object-fit:
|
54 |
border-radius: 15px 15px 0 0;
|
55 |
opacity: 0;
|
56 |
transition: opacity 0.5s ease-in-out;
|
@@ -59,6 +59,13 @@
|
|
59 |
.menu-video.loaded {
|
60 |
opacity: 1;
|
61 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
.menu-card:hover .menu-video {
|
63 |
opacity: 1;
|
64 |
transform: scale(1.05);
|
|
|
50 |
.menu-video {
|
51 |
height: 200px;
|
52 |
width: 100%;
|
53 |
+
object-fit: contain;
|
54 |
border-radius: 15px 15px 0 0;
|
55 |
opacity: 0;
|
56 |
transition: opacity 0.5s ease-in-out;
|
|
|
59 |
.menu-video.loaded {
|
60 |
opacity: 1;
|
61 |
}
|
62 |
+
.menu-card img {
|
63 |
+
width: 100%; /* Ensure image takes up full width */
|
64 |
+
height: 200px; /* Set fixed height */
|
65 |
+
object-fit: cover; /* Ensure the image fills the container without distortion */
|
66 |
+
object-position: center; /* Center the image within the container */
|
67 |
+
}
|
68 |
+
|
69 |
.menu-card:hover .menu-video {
|
70 |
opacity: 1;
|
71 |
transform: scale(1.05);
|