nagasurendra commited on
Commit
5f33c60
·
verified ·
1 Parent(s): c288b63

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. templates/menu.html +3 -4
templates/menu.html CHANGED
@@ -353,9 +353,10 @@ form-check-input addon-option{
353
  width: 40px; /* Smaller size */
354
  height: 20px; /* Smaller size */
355
  background: #ccc;
356
- border-radius: 4px; /* Square or slightly rounded */
357
  cursor: pointer;
358
  transition: background 0.3s;
 
359
  }
360
 
361
  .custom-toggle:checked {
@@ -370,7 +371,7 @@ form-check-input addon-option{
370
  width: 16px; /* Smaller width */
371
  height: 16px; /* Smaller height */
372
  background: white;
373
- border-radius: 3px; /* Square shape, with rounded corners */
374
  transition: transform 0.3s;
375
  }
376
 
@@ -378,8 +379,6 @@ form-check-input addon-option{
378
  transform: translateX(20px); /* Moves the toggle to the right */
379
  }
380
 
381
-
382
-
383
  /* Optional: Style the labels */
384
  .form-check-label {
385
  font-size: 16px;
 
353
  width: 40px; /* Smaller size */
354
  height: 20px; /* Smaller size */
355
  background: #ccc;
356
+ border-radius: 10px; /* Fully rounded edges */
357
  cursor: pointer;
358
  transition: background 0.3s;
359
+ display: inline-block; /* Ensure it is aligned on the same line */
360
  }
361
 
362
  .custom-toggle:checked {
 
371
  width: 16px; /* Smaller width */
372
  height: 16px; /* Smaller height */
373
  background: white;
374
+ border-radius: 50%; /* Circular shape */
375
  transition: transform 0.3s;
376
  }
377
 
 
379
  transform: translateX(20px); /* Moves the toggle to the right */
380
  }
381
 
 
 
382
  /* Optional: Style the labels */
383
  .form-check-label {
384
  font-size: 16px;