diff --git a/src/components/Switch/index.tsx b/src/components/Switch/index.tsx index 8a88da1..6661a06 100644 --- a/src/components/Switch/index.tsx +++ b/src/components/Switch/index.tsx @@ -28,7 +28,7 @@ export class Switch extends React.Component { return (
- +
) } diff --git a/src/components/Switch/style.scss b/src/components/Switch/style.scss index 82aeb9e..5d95e76 100644 --- a/src/components/Switch/style.scss +++ b/src/components/Switch/style.scss @@ -51,7 +51,7 @@ $width: 32px; .switch-icon { position: absolute; - right: $switch-offset * 2; + transform: translateX(13px) scale(0.4); color: #fff; line-height: $height; }