bb-plane-fork/web/core/components/gantt-chart/constants.ts
rahulramesha 4b50b27a74
[WEB-2442] feat: Minor Timeline view Enhancements (#5987)
* fix timeline scroll to the right in some cases

(cherry picked from commit 17043a6c7f0b8852554b32c698ffb8539032a729)

* add get position based on Date

(cherry picked from commit 2fbe22d689de50e41b3b94b0970fb1f237063fa7)

* Add sticky block name to enable it to be read throughout the block regardless of scroll position

(cherry picked from commit 447af2e05a6ec67fc9a61d15c51555ed20de010c)

* Enable blocks to have a single date on the block charts

(cherry picked from commit cb055d566bd8a5434f7f2cecbac04c1d6e748ceb)

* revert back date-range changes

* change gradient of half blocks on Timeline

* Add instance Id for Timeline Sidebar dragging to avoid enabling dropping of other drag instances

* fix timeline scrolling height
2024-11-13 15:40:37 +05:30

11 lines
237 B
TypeScript

export const BLOCK_HEIGHT = 44;
export const HEADER_HEIGHT = 48;
export const GANTT_BREADCRUMBS_HEIGHT = 40;
export const SIDEBAR_WIDTH = 360;
export const DEFAULT_BLOCK_WIDTH = 60;
export const GANTT_SELECT_GROUP = "gantt-issues";