Subbu1304 commited on
Commit
f88ca88
·
verified ·
1 Parent(s): e1e64d5

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. templates/menu.html +6 -25
templates/menu.html CHANGED
@@ -23,7 +23,7 @@
23
 
24
 
25
 
26
- /* .menu-card {
27
  max-width: 350px;
28
  border-radius: 15px;
29
  overflow: hidden;
@@ -32,36 +32,17 @@
32
  display: flex;
33
  flex-direction: column;
34
  position: relative;
35
- } */
36
 
37
- .menu-card {
38
- max-width: 500px; /* Increased from 350px */
39
- width: 100%; /* Optional: ensures it scales with parent */
40
- min-width: 400px; /* Optional: sets a minimum size */
41
- border-radius: 15px;
42
- overflow: hidden;
43
- background-color: #fff;
44
- margin: auto;
45
- display: flex;
46
- flex-direction: column;
47
- position: relative;
48
- }
49
 
50
 
51
- .menu-card .menu-image {
52
- height: 200px; /* Fixed height */
53
- width: 100%; /* Full width of the card */
54
- object-fit: cover; /* Ensures the image covers the area and maintains the aspect ratio */
55
- border-radius: 15px 15px 0 0; /* Rounded top corners */
56
- }
57
-
58
 
59
- /* .menu-image {
60
  height: 200px; /* Fixed height */
61
  width: 100%; /* Full width of the card */
62
  object-fit:fill; /* Ensure the image covers the area and maintains the aspect ratio */
63
  border-radius: 15px 15px 0 0; /* Rounded top corners */
64
- } */
65
  .card-title {
66
  font-size: 1.2rem;
67
  font-weight: bold;
@@ -620,11 +601,11 @@ form-check-input addon-option{
620
  </div>
621
 
622
  <!-- View Cart Button -->
623
- <!-- <div class="view-cart-container">
624
  <a href="{{ url_for('cart.cart') }}" class="view-cart-button">
625
  View Cart
626
  </a>
627
- </div> -->
628
 
629
  <!-- Modal for Item Details -->
630
  <div class="modal fade" id="itemModal" tabindex="-1" aria-labelledby="itemModalLabel" aria-hidden="true">
 
23
 
24
 
25
 
26
+ .menu-card {
27
  max-width: 350px;
28
  border-radius: 15px;
29
  overflow: hidden;
 
32
  display: flex;
33
  flex-direction: column;
34
  position: relative;
35
+ }
36
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
 
 
 
 
 
 
 
 
39
 
40
+ .menu-image {
41
  height: 200px; /* Fixed height */
42
  width: 100%; /* Full width of the card */
43
  object-fit:fill; /* Ensure the image covers the area and maintains the aspect ratio */
44
  border-radius: 15px 15px 0 0; /* Rounded top corners */
45
+ }
46
  .card-title {
47
  font-size: 1.2rem;
48
  font-weight: bold;
 
601
  </div>
602
 
603
  <!-- View Cart Button -->
604
+ <div class="view-cart-container">
605
  <a href="{{ url_for('cart.cart') }}" class="view-cart-button">
606
  View Cart
607
  </a>
608
+ </div>
609
 
610
  <!-- Modal for Item Details -->
611
  <div class="modal fade" id="itemModal" tabindex="-1" aria-labelledby="itemModalLabel" aria-hidden="true">