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

Problem with the inline mode - it's not possible select Saturday days #1049

Closed
oaki opened this issue May 8, 2015 · 4 comments
Closed

Problem with the inline mode - it's not possible select Saturday days #1049

oaki opened this issue May 8, 2015 · 4 comments

Comments

@oaki
Copy link

oaki commented May 8, 2015

There is a padding over all Saturday days and also over the arrow (next month). Then is not clickable. I tested it on chrome here http://eonasdan.github.io/bootstrap-datetimepicker/

@compcentral
Copy link

I'm also seeing this issue.

@compcentral
Copy link

Adding the following to bootstrap-datetimepicker.css should resolve the problem. The issue was with the size of the col divs....

.timepicker{
min-width: 228px;
}
.datepicker{
min-width: 240px;
}

@compcentral
Copy link

Or... possibly another solution...

I changed .timepicker to col-sm-5 and that seems to be fine. makes the control a bit smaller which I liked. Here is the code to change in bootstrap-datetimepicker.min.js:

return d.inline&&b.removeClass("dropdown-menu"),f&&b.addClass("usetwentyfour"),d.sideBySide&&z()&&y()?(b.addClass("timepicker-sbs"),b.append(a("<div>").addClass("row").append(c.addClass("col-sm-6")).append(e.addClass("col-sm-5"))),b.append(h),b):("top"===d.toolbarPlacement&&g.append(h),z()&&g.append(a("<li>").addClass(d.collapse&&y()?"collapse in":"").append(c)),"default"===d.toolbarPlacement&&g.append(h),y()&&g.append(a("<li>").addClass(d.collapse&&z()?"collapse":"").append(e)),"bottom"===d.toolbarPlacement&&g.append(h),b.append(g))},F=function(){var b,e={};

@Eonasdan
Copy link
Owner

the real issue is how the docs are laid out, which I've fixed

Repository owner locked and limited conversation to collaborators Jun 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants