search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Padding on Table Layout => Delta on timerangeselection

Asked by Arthur
1 month ago.

Hi,

I have a padding on table layout for Calendar view, which cause a wrong time range selection.

If it is not possible to switch to DivLayout with LITE version (dp.layout = "DivBased"), how can I fix this problem ?

Thank you,

Answer posted by Arthur
1 month ago.

It seems to be a Bootstrap theme conflict, not a DayPilot issue,
I will investigate my side,

Comment posted by Dan Letecky [DayPilot]
1 month ago.

I don't recommend using untargeted global styles for common elements like <table>, <div> etc. since they may affect the Calendar appearance.

If there is no way to avoid that, you'd have to add a more specific CSS selector to override the padding. Something like this:

#dp table td {
  padding: 0px;
}
New Reply
This reply is
Your name (optional):