Subbu1304 commited on
Commit
7c7c418
·
verified ·
1 Parent(s): 0562643

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. templates/menu.html +26 -3
templates/menu.html CHANGED
@@ -19,7 +19,7 @@
19
  .container {
20
  max-width: 900px;
21
  }
22
- .menu-card {
23
  max-width: 350px;
24
  border-radius: 15px;
25
  overflow: hidden;
@@ -28,13 +28,36 @@
28
  display: flex;
29
  flex-direction: column;
30
  position: relative;
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  }
32
- .menu-image {
 
 
33
  height: 200px; /* Fixed height */
34
  width: 100%; /* Full width of the card */
35
- object-fit:fill; /* Ensure the image covers the area and maintains the aspect ratio */
36
  border-radius: 15px 15px 0 0; /* Rounded top corners */
37
  }
 
 
 
 
 
 
 
 
38
  .card-title {
39
  font-size: 1.2rem;
40
  font-weight: bold;
 
19
  .container {
20
  max-width: 900px;
21
  }
22
+ /* .menu-card {
23
  max-width: 350px;
24
  border-radius: 15px;
25
  overflow: hidden;
 
28
  display: flex;
29
  flex-direction: column;
30
  position: relative;
31
+ } */
32
+
33
+ .menu-card {
34
+ max-width: 500px; /* Increased from 350px */
35
+ width: 100%; /* Optional: ensures it scales with parent */
36
+ min-width: 400px; /* Optional: sets a minimum size */
37
+ border-radius: 15px;
38
+ overflow: hidden;
39
+ background-color: #fff;
40
+ margin: auto;
41
+ display: flex;
42
+ flex-direction: column;
43
+ position: relative;
44
  }
45
+
46
+
47
+ .menu-card .menu-image {
48
  height: 200px; /* Fixed height */
49
  width: 100%; /* Full width of the card */
50
+ object-fit: cover; /* Ensures the image covers the area and maintains the aspect ratio */
51
  border-radius: 15px 15px 0 0; /* Rounded top corners */
52
  }
53
+
54
+
55
+ /* .menu-image {
56
+ height: 200px; /* Fixed height */
57
+ width: 100%; /* Full width of the card */
58
+ object-fit:fill; /* Ensure the image covers the area and maintains the aspect ratio */
59
+ border-radius: 15px 15px 0 0; /* Rounded top corners */
60
+ } */
61
  .card-title {
62
  font-size: 1.2rem;
63
  font-weight: bold;