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

add style box-sizing display issues #57

Open
dvb3688 opened this issue Jan 21, 2016 · 0 comments
Open

add style box-sizing display issues #57

dvb3688 opened this issue Jan 21, 2016 · 0 comments

Comments

@dvb3688
Copy link

dvb3688 commented Jan 21, 2016

used jquery-week-calendar to Bootstrap project
Bootstrap has css box-sizing: border-box;
eg:
,:before, *:after {
box-sizing: border-box;
}
But not supported

I changed jquery.weekcalendar.js 860th lines of code:

$calendarContainer.find('.wc-time-slot').height(options.timeslotHeight - 1);
changed

$calendarContainer.find('.wc-time-slot').height(options.timeslotHeight + 0.009);

$calendarContainer.find('.wc-time-header-cell').css({
height: (options.timeslotHeight * options.timeslotsPerHour) - 11,
padding: 5
});
changed
$calendarContainer.find('.wc-time-header-cell').css({
height: (options.timeslotHeight * options.timeslotsPerHour) - 1,
padding: 5
});

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

No branches or pull requests

1 participant