nagasurendra commited on
Commit
520c537
·
verified ·
1 Parent(s): f2ac833

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. templates/menu.html +4 -12
templates/menu.html CHANGED
@@ -333,12 +333,12 @@ form-check-input addon-option{
333
  .custom-radio:hover {
334
  border-color: #388E3C;
335
  }
336
- /* Custom Toggle Switch Styling */
337
  .toggle-container {
338
  display: flex;
339
  justify-content: flex-start; /* Align buttons to the left */
340
- gap: 20px; /* Adjust space between buttons */
341
- margin: 0 auto; /* Center align the container if required */
342
  }
343
 
344
  /* Custom Toggle Switch Styling */
@@ -353,15 +353,6 @@ form-check-input addon-option{
353
  border-radius: 10px; /* Fully rounded edges */
354
  cursor: pointer;
355
  transition: background 0.3s;
356
- display: inline-block; /* Ensure it is aligned on the same line */
357
- margin-right: 10px; /* Space between toggle and text */
358
- }
359
-
360
- /* Make the text aligned correctly with the toggle switch */
361
- .toggle-container {
362
- display: flex;
363
- align-items: center;
364
- justify-content: flex-start; /* Align to the left */
365
  }
366
 
367
  /* Custom toggle checked style */
@@ -386,6 +377,7 @@ form-check-input addon-option{
386
  transform: translateX(20px); /* Moves the toggle to the right */
387
  }
388
 
 
389
  /* Optional: Style the labels */
390
  .form-check-label {
391
  font-size: 16px;
 
333
  .custom-radio:hover {
334
  border-color: #388E3C;
335
  }
336
+ /* Flex container to align toggle buttons */
337
  .toggle-container {
338
  display: flex;
339
  justify-content: flex-start; /* Align buttons to the left */
340
+ gap: 10px; /* Adjust space between buttons */
341
+ align-items: center; /* Align items vertically in the center */
342
  }
343
 
344
  /* Custom Toggle Switch Styling */
 
353
  border-radius: 10px; /* Fully rounded edges */
354
  cursor: pointer;
355
  transition: background 0.3s;
 
 
 
 
 
 
 
 
 
356
  }
357
 
358
  /* Custom toggle checked style */
 
377
  transform: translateX(20px); /* Moves the toggle to the right */
378
  }
379
 
380
+
381
  /* Optional: Style the labels */
382
  .form-check-label {
383
  font-size: 16px;