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 native range thumb styles on Webkit (Chrome/Safari) #10562

Merged
merged 1 commit into from Aug 26, 2017

Conversation

farrago
Copy link
Contributor

@farrago farrago commented Aug 21, 2017

As described in #10553; the range slider's thumb was not styling correctly on Chrome or Safari.
This was simply because the pseudo-element ::-webkit-slider-thumb
had been incorrectly written as ::-wekit-slider-handle in scss/forms/_range.scss.

This revision fixes it to correctly use ::-webkit-slider-thumb.

Test Plan:

  • Run npm start
    • View slider.html in the docs in Chrome and check the range
      slider's thumb is now styled correctly.
    • View the docs in Firefox and Edge and ensure they are still correct.
  • Run npm run test:sass and ensure all the tests still pass

Reviewers:
@kball - would you be appropriate to review this?

The range slider's thumb was not styling correctly on Chrome or Safari.
This was simply because the pseudo-element `::-webkit-slider-thumb`
had been incorrectly written as `::-wekit-slider-handle` in `scss/forms/_range.scss`.

This revision fixes it to correctly use `::-webkit-slider-thumb`.

Test Plan:
- Run `npm start`
 - View `slider.html` in the docs in Chrome and check the range
   slider's thumb is now styled correctly.
 - View the docs in Firefox and Edge and ensure they are still correct.
- Run `npm run test:sass` and ensure all the tests still pass
@kball kball merged commit af0368d into foundation:develop Aug 26, 2017
@kball
Copy link
Contributor

kball commented Aug 26, 2017

Awesome, thanks @farrago! This looks good, and congrats on first merged PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants