-
Notifications
You must be signed in to change notification settings - Fork 342
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
Slider constantly breaks out of container. #319
Comments
Just to add to the previous comment: The current CSS implementation prevents both the dot and the rail sitting flush at the edge of a container. Because in the current CSS implementation the dot is positioned centrally on the edge of the rail.
|
The first one I don't know what trouble you have, the block element should fill the entire line when the width is auto. You can provide an online example or a screenshot. Regarding the edge, is the slider alignment or the track alignment, i haven't thought of a good solution yet. |
I am modifying, but I have a problem. If set to |
Sorry for the delay in response. The jsfiddle seems to work well - even if you remove the margin and replace it with the padding it still works. |
Is your problem solved? 😄 |
Added the https://nightcatsama.github.io/vue-slider-component/#/basics/simple?hash=contained |
Slider should stay in container at all times. Currently have to override it with some crazy inline style declarations:
:style="'padding: 0 0 0 10px !important; box-sizing: border-box !important; width: 100% !important;'"
The component needs to be more flexible:
box-sizing: content-box
shouldn't be used here - this is the reason its constantly breaking out of the container. CSS needs reimplementing.The text was updated successfully, but these errors were encountered: