Skip to content

Commit

Permalink
πŸ› Fix toggle input
Browse files Browse the repository at this point in the history
  • Loading branch information
cprodhomme committed Apr 14, 2023
1 parent dd94ba8 commit 9b51c32
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/assets/stylesheets/arctic_admin/components/_toggle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,8 @@ $toggle-transition: 200ms ease-out !default;
//

background-color: $toggle-inner-active;
transform: translateX(
calc($toggle-width - $toggle-height)
);
$toggle-translate-x: calc(( #{$toggle-width} - #{$toggle-height} ));
transform: translateX($toggle-translate-x);
}
}
}
Expand Down

0 comments on commit 9b51c32

Please sign in to comment.