Rammohan0504 commited on
Commit
e913a04
·
verified ·
1 Parent(s): a25ae0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -49,12 +49,12 @@ def display_dishes(category):
49
  width: 80%; padding: 10px; border: 1px solid #ddd; border-radius: 10px;
50
  background-color: #f9f9f9; cursor: pointer;'
51
  onclick="showPopup('{dish['image']}', '{dish['name']}', '{dish['description']}')">
52
- <img src='{dish['image']}' alt='{dish['name']}'
53
- style='width: 120px; height: 80px; object-fit: cover; border-radius: 10px;'>
54
- <div style='flex: 1; margin-left: 20px;'>
55
  <h4 style='font-size: 18px; color: #444; margin: 0;'>{dish['name']}</h4>
56
  <p style='font-size: 14px; color: #666; margin: 5px 0;'>{dish['description']}</p>
57
  </div>
 
 
58
  </div>
59
  """
60
  html_content += "</div>"
 
49
  width: 80%; padding: 10px; border: 1px solid #ddd; border-radius: 10px;
50
  background-color: #f9f9f9; cursor: pointer;'
51
  onclick="showPopup('{dish['image']}', '{dish['name']}', '{dish['description']}')">
52
+ <div style='flex: 1; margin-right: 20px;'>
 
 
53
  <h4 style='font-size: 18px; color: #444; margin: 0;'>{dish['name']}</h4>
54
  <p style='font-size: 14px; color: #666; margin: 5px 0;'>{dish['description']}</p>
55
  </div>
56
+ <img src='{dish['image']}' alt='{dish['name']}'
57
+ style='width: 120px; height: 80px; object-fit: cover; border-radius: 10px;'>
58
  </div>
59
  """
60
  html_content += "</div>"