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

white background container is responsive and breaks the UI #18

Closed
ghiscoding opened this issue Aug 13, 2017 · 1 comment · Fixed by #33
Closed

white background container is responsive and breaks the UI #18

ghiscoding opened this issue Aug 13, 2017 · 1 comment · Fixed by #33

Comments

@ghiscoding
Copy link

Hello, I was browsing your new site for Bootstrap 4 and noticed that all the picker were broken. I then realized that it was because my browser is not full screen. I see the white background container being responsive, while the rest is not, and because of that it breaks the UI. Please take a look at the print screen attached (you can test by resizing your browser, in full screen I don't see this behavior anymore).

Also, I'm guessing that you are aware of the latest release of Bootstrap 4 Beta 1, any plan to go with it soon? Thanks for the great library

picker_broken

@ghiscoding
Copy link
Author

I found the issue, the widget has a width of 12.8vw and the calendar itself uses a table with table-sm. If I comment out the 12.8vw, it shows correcly.

.bootstrap-datetimepicker-widget.dropdown-menu {
    display: block;
    margin: 2px 0;
    padding: 4px;
    /* width: 12.8vw; */
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants