Skip to content

Commit

Permalink
fix(checkbox): adjust switch style
Browse files Browse the repository at this point in the history
  • Loading branch information
hirsch committed Dec 14, 2021
1 parent 320e088 commit fda5174
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
border-radius: 50%;
display: block;
position: absolute;
top: 3px;
left: 3px;
top: 2px;
left: 2px;
width: 24px - 3px;
height: 24px - 3px;
height: 24px - 4px;
transform: translate3d(0, 0, 0);
background: $white;
transition: all 0.25s ease-out;
Expand All @@ -68,7 +68,7 @@
}

input[type='checkbox']:checked + label::after {
left: 26px;
left: 24px;
}

&.is-disabled {
Expand Down

0 comments on commit fda5174

Please sign in to comment.