Scheduler header made thinner; resize and move gets offset

See example here: docs.dhtmlx.com/scheduler/snippet/3b653daa

I have made some custom css rules to make the header thinner.

When trying to resize an event (or move) the pointer cursor is a bit offset. Is it possible to do something about that?

Thanks in advance!

…same effect when creating a new event by dragging (the cursor has an offset).

Hello,
make sure you modify scheduler.xy.nav_height and scheduler.xy.scale_height configs for sizes of header elements, instead of modifying them via css:
docs.dhtmlx.com/scheduler/api__s … other.html
demo:
docs.dhtmlx.com/scheduler/snippet/0d8ef558

These values are used for rendering scheduler layout and also for detecting mouse position, so if elements are resized from css and config values not match the actual sizes - the mouse position will be detected with some offset

Thanks! Removing some css explicit heights might do the trick as well. I’ll try.