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
Input type="range" formatting oddities #11990
Comments
Range isn't officially supported input and it should be untouched. Just add |
I don't understand what you mean by that. Just add .col-md-xx to what? |
To the range input. 2013/12/24 Steve Schafer notifications@github.com
Zlatan Vasović - ZDroid |
Unless you're doing something else that I can't figure out, that doesn't solve the problem. Adding .col-md-xx to the |
I see no issue in Chrome 31.x on Windows 7 with your first code snippet. |
Closing out since I haven't heard anything new. |
* remotes/upstream/master: (76 commits) grunt dist Update docs per `.container-fluid` addition - Remove `.container-fluid` from "removed classes". - Container isn't fluid by default (`.container`) and `.row` isn't percentage-based, so update docs. Don't test Linux browsers since we don't support them officially and they're failing our tests Fixes twbs#12171: Ensure panel groups have a bottom margin since we nuke it on child panels refer to correct component docs mention for twbs#12188 use height adjectives for greater clarity document twbs#11675 rm outdated `<select>` references from comments in forms.less Clarify that the focus docs styles are not in the repo, per twbs/bootstrap-sass#497 Fixes twbs#11990 and twbs#12159: Make range inputs block level and 100% wide by default grunt dist mixins.less: fix typo in comment use periods for consistency in each line Use absolute instead of relative URLs grunt dist Update paths in bower.json Add new varaible @icon-font-svg-id and set it to be the correct SVG font ID, used new variable in glyphicons.less missing a period after "Twitter, Inc" bump grunt-contrib-jade to v0.9.1 ... Conflicts: Gruntfile.js dist/css/bootstrap-theme.css dist/css/bootstrap-theme.css.map dist/css/bootstrap-theme.min.css dist/css/bootstrap.css dist/css/bootstrap.css.map dist/css/bootstrap.min.css dist/js/bootstrap.js dist/js/bootstrap.min.js less/variables.less test-infra/sauce_browsers.yml
… and 100% wide by default
… and 100% wide by default
If we stack a text or number style input over a range input inside a col-xx div, they don't align very well:
We can fix the alignment by adding a col-xx-12 class to the range input:
But now the slider doesn't go all the way to the ends of the "track":
We have to remove the padding to get the slider to work correctly:
(Screenshots are all from Chrome 31 on Windows 7.)
See also #11177.
The text was updated successfully, but these errors were encountered: