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

Fix the switch to match the Material Design spec. #4573

Merged
merged 1 commit into from
Jun 15, 2016

Commits on Jun 15, 2016

  1. Fix the switch to match the Material Design spec.

    Our track and head were slightly off in size.
    These now exactly match the sizes in
    https://material.google.com/components/selection-controls.html#selection-controls-switch
    We took the liberty of assuming the head overlaps the edge
    of the track by 2 pixels (instead of the head and the track ending at the same point)
    which the provided designs were conflicted about.
    
    Huge thanks to @DaveShuckerow for noticing this issue!
    
    @abarth
    eseidelGoogle committed Jun 15, 2016
    Configuration menu
    Copy the full SHA
    3ee2f6f View commit details
    Browse the repository at this point in the history