DSatishchandra commited on
Commit
b0962ed
·
verified ·
1 Parent(s): 64ed216

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. templates/menu.html +8 -2
templates/menu.html CHANGED
@@ -240,7 +240,7 @@ h1.text-center {
240
  margin-bottom: 10px;
241
  font-size: 1.1rem;
242
  font-weight: bold;
243
- color: #4a4848;
244
  }
245
 
246
  /* Style for add-on checkboxes */
@@ -261,6 +261,7 @@ form.text-center.mb-4 {
261
  display: inline-block;
262
  margin-right: 5px; /* Reduced space between radio button and label */
263
  margin-bottom: 0; /* Remove bottom margin */
 
264
  vertical-align: middle; /* Align radio buttons vertically */
265
  }
266
 
@@ -270,8 +271,9 @@ form.text-center.mb-4 {
270
  }
271
 
272
  .form-check-label {
 
273
  font-size: 16px;
274
- margin-left: 8px; /* Spacing between radio button and label */
275
  vertical-align: middle; /* Align label vertically */
276
  }
277
 
@@ -288,6 +290,7 @@ form.text-center.mb-4 {
288
  cursor: pointer;
289
  position: relative;
290
  display: inline-block;
 
291
  }
292
 
293
  .custom-radio:checked {
@@ -408,6 +411,9 @@ form.text-center.mb-4 {
408
  {% if selected_category == category %}checked{% endif %} onchange="this.form.submit()">
409
  <label class="form-check-label" for="category-{{ category }}">{{ category }}</label>
410
  {% endfor %}
 
 
 
411
  <input type="radio" id="category-CustomizedDish" name="category" value="Customized Dish" class="custom-radio"
412
  {% if selected_category == "Customized Dish" %}checked{% endif %} onchange="this.form.submit()">
413
  <label class="form-check-label" for="category-CustomizedDish">Customized Dish</label>
 
240
  margin-bottom: 10px;
241
  font-size: 1.1rem;
242
  font-weight: bold;
243
+ color: #333333;
244
  }
245
 
246
  /* Style for add-on checkboxes */
 
261
  display: inline-block;
262
  margin-right: 5px; /* Reduced space between radio button and label */
263
  margin-bottom: 0; /* Remove bottom margin */
264
+ margin-top: 10px; /* Adds space between categories and Customized Dish */
265
  vertical-align: middle; /* Align radio buttons vertically */
266
  }
267
 
 
271
  }
272
 
273
  .form-check-label {
274
+ display: inline-block;
275
  font-size: 16px;
276
+ margin-left: 5px; /* Spacing between radio button and label */
277
  vertical-align: middle; /* Align label vertically */
278
  }
279
 
 
290
  cursor: pointer;
291
  position: relative;
292
  display: inline-block;
293
+ vertical-align: middle; /* Align vertically with text */
294
  }
295
 
296
  .custom-radio:checked {
 
411
  {% if selected_category == category %}checked{% endif %} onchange="this.form.submit()">
412
  <label class="form-check-label" for="category-{{ category }}">{{ category }}</label>
413
  {% endfor %}
414
+ </div>
415
+ <!-- Separate Customized Dish radio button in a new div to align it properly -->
416
+ <div class="form-check">
417
  <input type="radio" id="category-CustomizedDish" name="category" value="Customized Dish" class="custom-radio"
418
  {% if selected_category == "Customized Dish" %}checked{% endif %} onchange="this.form.submit()">
419
  <label class="form-check-label" for="category-CustomizedDish">Customized Dish</label>