Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add internal text to switch component #3327

Merged
merged 15 commits into from
Feb 6, 2019
Prev Previous commit
Next Next commit
restore comment
  • Loading branch information
giladgray authored Feb 6, 2019
commit e0bd72fe1e7976d9fad36b5036b45de847d162a3
1 change: 1 addition & 0 deletions packages/core/src/components/forms/_controls.scss
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ $control-indicator-spacing: $pt-grid-size !default;
}

input:checked ~ .#{$ns}-control-indicator::before {
// 1em is size of indicator
left: calc(100% - 1em);
}

Expand Down