Skip to content

Commit

Permalink
fix(toggle): change spacing to match style guide (#5462)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrivalszkyP authored and joshblack committed Mar 10, 2020
1 parent 2731592 commit bbe9f0d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/components/src/components/toggle/_toggle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,6 @@
align-items: center;
width: carbon--rem(48px);
height: carbon--rem(24px);
margin: $carbon--spacing-03 0;
cursor: pointer;

// Toggle background oval
Expand Down Expand Up @@ -307,6 +306,10 @@
content: '';
transition: transform $duration--fast-01 motion(exit, productive);
}

.#{$prefix}--toggle-input__label & {
margin-top: $carbon--spacing-05;
}
}

.#{$prefix}--toggle__text--off,
Expand Down

0 comments on commit bbe9f0d

Please sign in to comment.