-
Notifications
You must be signed in to change notification settings - Fork 1k
Put in css fix for overlapping sliders. #615
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
Put in css fix for overlapping sliders. #615
Conversation
… of bounds values.
…fied isIn() function, and eliminated unnecessary escapes in regular expression.
…ort in the specs yet and affix() is what I really wanted.
… fix seeming deviation from intent, although not in a likely meaningful way.
…plify formatting of output string by eliminating 'magic' 101 values.
…n of the negation of date.getTimezoneOffset() to make it clear that we need to reverse its sense. Just representing it as straight subtraction might be mathematically simpler and marginally more performant, but would fail to suggest this important detail.
…mentational, but that's all the methods under test do.
…hough I haven't tested its datepicker collaborator functions.
More tests added, cleanup
…crosecond handling, and change the method comments to jsdoc.
… the local fixture variables.
Hey Alex, Thanks for submitting the css tweak. I tried this on the documentation page and it squeezes the sliders pretty small, to the point it could make the grid feature difficult to use. is the issue the sliders overlapping with the labels? |
…ning and a curious behavior.
This may be due to browser specific CSS rendering. I'll be testing it out on IE a bit later. |
Ok that looks like its from the font-size being so large. Is that
|
Hi Trent, You're exactly right with the font size. Reducing the font from 28px to 16px resulted in no overlap (large font was intentional). I'll have to think about this. Would it be a worthwhile to put the sliders on new lines? It's not too complex and should result in nice scaling as text size changes. The calendar portion of the widget scales well from 12px-28px, it would be nice to match that. (or one could do % width). Your thoughts? |
Possibly someone more advanced at css than I could easily fix this.. new Percent would run into the same issue I think. Possibly an easier most certain fix is to use a table so the cells dont
|
I like the idea of using a table. I'll try and work through a solution using css but if that's not possible then a table would be the best option. Let's leave this pull request open and I'll submit a few more commits if I've found a decent solution. PS: I love this widget, nice work on it. |
Thank you! Also if you do be sure to make changes on the dev branch if
|
Sorry about that, I knew I should have been working out of dev. I'll make a new pull request where we can continue the discussion. |
I noticed some overlap in the sliders when using the widget. This fixes it with css increase in margin.