DSatishchandra commited on
Commit
71f5bd5
·
verified ·
1 Parent(s): e03cee4

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. templates/menu.html +8 -1
templates/menu.html CHANGED
@@ -252,7 +252,6 @@ h1.text-center {
252
  align-items: center; /* Align checkboxes and labels */
253
  margin-left: 10px; /* Space between checkboxes */
254
  color: #343a40; /* Darker text color */
255
- vertical-align: middle; /* Align label vertically */
256
  }
257
 
258
  /* Customize the default checkbox */
@@ -301,12 +300,20 @@ h1.text-center {
301
  font-size: 16px;
302
  margin-left: 8px;
303
  cursor: pointer;
 
 
304
  }
305
  /* Fix alignment of text and checkbox */
306
  .addon-section .form-check input[type="checkbox"],
307
  .addon-section .form-check label {
308
  display: inline-block;
309
  vertical-align: middle; /* Align text and checkboxes vertically */
 
 
 
 
 
 
310
  }
311
 
312
  /* Category Filter with Custom Radio Buttons */
 
252
  align-items: center; /* Align checkboxes and labels */
253
  margin-left: 10px; /* Space between checkboxes */
254
  color: #343a40; /* Darker text color */
 
255
  }
256
 
257
  /* Customize the default checkbox */
 
300
  font-size: 16px;
301
  margin-left: 8px;
302
  cursor: pointer;
303
+ display: inline-block; /* Ensure label aligns correctly with checkbox */
304
+ vertical-align: middle; /* Align text vertically with the checkbox */
305
  }
306
  /* Fix alignment of text and checkbox */
307
  .addon-section .form-check input[type="checkbox"],
308
  .addon-section .form-check label {
309
  display: inline-block;
310
  vertical-align: middle; /* Align text and checkboxes vertically */
311
+ }
312
+ /* Ensure checkboxes are not stacked vertically */
313
+ .addon-section {
314
+ display: flex;
315
+ flex-wrap: wrap; /* Allows items to wrap onto a new line if needed */
316
+ align-items: center;
317
  }
318
 
319
  /* Category Filter with Custom Radio Buttons */