From fa87fbc8560e00cfff2f4c60219e1f798f6765e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frivalszky-Mayer=20P=C3=A9ter?= Date: Thu, 27 Feb 2020 11:10:29 +0100 Subject: [PATCH] fix(toggle): change spacing to match style guide --- packages/components/src/components/toggle/_toggle.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/components/src/components/toggle/_toggle.scss b/packages/components/src/components/toggle/_toggle.scss index 30980caa7797..4fdd72ec2100 100644 --- a/packages/components/src/components/toggle/_toggle.scss +++ b/packages/components/src/components/toggle/_toggle.scss @@ -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 @@ -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,