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 range input slider styles in Internet Explorer #599

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

krikienoid
Copy link

The experimental Sliders component does not currently render in Internet Explorer. This pull request fixes the style issues in Internet Explorer.

I only had to add three lines of code, here are the details on what the code I added actually does:

.slider {
	// Remove default padding which causes the slider to be clipped out
	// https://stackoverflow.com/a/45665242
	padding: 0;

	&::-ms-track {
		// Remove default black border
		border: 0;

		// Remove default black tickmarks
		// https://stackoverflow.com/a/56599481
		color: transparent;
	}
}

@lu4p

This comment has been minimized.

@picturepan2 picturepan2 self-assigned this Jul 5, 2020
@picturepan2 picturepan2 added the bug label Jul 5, 2020
@davestewart davestewart mentioned this pull request Sep 20, 2023
30 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants