-
-
Notifications
You must be signed in to change notification settings - Fork 659
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
Responsive CSS #1034
Comments
I'd definitely be interested in a PR improving the base stylesheet. Preferably as the standard behavior, if possible. I think that should mostly be doable with |
I, maybe, misunderstood you a bit, but from your words "that should mostly be doable with calc" I have the impression you think this is not done yet. |
Sorry I wasn't clear; your implementation is pretty much complete. I'm just saying it could be added as the default style (so without a |
Yes, it's absolutely not a problem to make it unconditional - I made it so just to be able to show the difference in the demo, before/after you know.. |
Hi, very cool sliders, thank you very much!
I noticed that default CSS is designed for the specific size of the container element, so it looks bad in the arbitrary containers.
But it's pretty easy to make sliders responsive by minor changes in CSS only.
Here is how it looks like currently and after applying 'responsive' CSS:
Here is a CSS override:
(I made it optional, to be applied only if container has 'responsive' class)
Here you can play with it
Let me know if you are interested in PR for making this built-in.
Also, notice - there is a problem with double lines on handles.
According to my experience - such things may be caused by CSS transform scale -- kind of rendering distortion.
The text was updated successfully, but these errors were encountered: