DSatishchandra commited on
Commit
84f45c3
·
verified ·
1 Parent(s): 314ad7f

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. templates/menu.html +9 -1
templates/menu.html CHANGED
@@ -248,9 +248,10 @@ h1.text-center {
248
 
249
  /* Style for add-on checkboxes */
250
  .addon-section .form-check {
 
 
251
  margin-left: 10px;
252
  color: #343a40; /* Darker text color */
253
-
254
  }
255
 
256
  /* Customize the default checkbox */
@@ -264,6 +265,7 @@ h1.text-center {
264
  border-radius: 3px; /* Rounded corners */
265
  background-color: #f0f0f0; /* Lighter gray background when unchecked */
266
  position: relative;
 
267
  }
268
 
269
  /* Checked state for the custom checkbox */
@@ -299,6 +301,12 @@ h1.text-center {
299
  margin-left: 8px;
300
  cursor: pointer;
301
  }
 
 
 
 
 
 
302
 
303
  /* Category Filter with Custom Radio Buttons */
304
  form.text-center.mb-4 {
 
248
 
249
  /* Style for add-on checkboxes */
250
  .addon-section .form-check {
251
+ display: flex;
252
+ align-items: center; /* Align checkboxes and labels */
253
  margin-left: 10px;
254
  color: #343a40; /* Darker text color */
 
255
  }
256
 
257
  /* Customize the default checkbox */
 
265
  border-radius: 3px; /* Rounded corners */
266
  background-color: #f0f0f0; /* Lighter gray background when unchecked */
267
  position: relative;
268
+ margin-right: 10px; /* Add space between the checkbox and label */
269
  }
270
 
271
  /* Checked state for the custom checkbox */
 
301
  margin-left: 8px;
302
  cursor: pointer;
303
  }
304
+ /* Fix alignment of text and checkbox */
305
+ .addon-section .form-check input[type="checkbox"],
306
+ .addon-section .form-check label {
307
+ display: inline-block;
308
+ vertical-align: middle; /* Align text and checkboxes vertically */
309
+ }
310
 
311
  /* Category Filter with Custom Radio Buttons */
312
  form.text-center.mb-4 {