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

Padding issues for <input type="range" #40

Open
tukasz opened this issue Jul 8, 2020 · 1 comment · May be fixed by #71
Open

Padding issues for <input type="range" #40

tukasz opened this issue Jul 8, 2020 · 1 comment · May be fixed by #71

Comments

@tukasz
Copy link

tukasz commented Jul 8, 2020

By default, all input elements have a 12px left-right padding:

textarea,
select,
input {
	padding: 6px 12px;
	...
}

For an <input type="range" ... this causes an issue (at least in Chrome 83) with incorrectly rendering the input:

Min value:
image

Mid value:
image

Max value:
image

Without the left-right padding, the input is rendered correctly.

@yakkomajuri yakkomajuri linked a pull request Mar 7, 2021 that will close this issue
@kaihendry
Copy link

Hi, I just ran into the strange rendering behaviour myself https://dabase.com/tips/web/2021/Minimal-VueJS-route-bind

It also looks unusable on Safari https://s.natalian.org/2021-09-07/range.png in dark mode by default.. 😓

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 a pull request may close this issue.

2 participants