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

Padding on Table Layout => Delta on timerangeselection

Asked by Arthur
3 years 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
3 years ago.

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

Comment posted by Dan Letecky [DayPilot]
3 years 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;
}
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.