Skip to content

Commit

Permalink
Keep bg color for switch. (#1917)
Browse files Browse the repository at this point in the history
Don't change the background color when the switch flips to "Hide Details".

Closes #1916.
  • Loading branch information
jonthegeek authored Oct 28, 2024
1 parent 0cc70ae commit 81ba46e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions inst/report/toggleButton.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@
transition: left 0.25s ease-in-out; /* Smooth transition for position change */
}

.toggle-checkbox:checked + .toggle-switch {
background: var(--blue-button-color); /* Changes color when toggled */
}

.toggle-checkbox:checked + .toggle-switch::before {
left: 33px; /* Moves the knob to the right when checked */
}
Expand Down

0 comments on commit 81ba46e

Please sign in to comment.