17
Views
3
Comments
[Easy Gantt] Easygrantt weekend error
Question
easy-gantt
Web icon
Forge asset by Guilherme Pereira
Hi guys i have been using easy grantt as part of my app but when i mave more then 2 enteries in the list this happens 


2012-10-08 11-59-27
Guilherme Pereira
Staff
Hi Danilo,

Can you share an espace that replicates this issue?

Thanks,
Guilherme
UserImage.jpg
Danilo Costa
Guilherme Pereira wrote:
Hi Danilo,

Can you share an espace that replicates this issue?

Thanks,
Guilherme
 thx for the fast reply but the setup i have has company info so i have to set up a test one then i can send it you 
 
2022-08-02 11-27-20
Miguel Amado
Staff

Danilo Costa wrote:

Guilherme Pereira wrote:
Hi Danilo,

Can you share an espace that replicates this issue?

Thanks,
Guilherme
 thx for the fast reply but the setup i have has company info so i have to set up a test one then i can send it you
 


Hello Danilo,


I have experienced the same issue. In my case it was due to the classes for general html elements of the Lisbon Theme tamper with the box-sizing attriibute.

If you include the Gantt chart inside of a div with the a class and then override the box-sizing value to initial the weekends stay aligned.

Attached is an example oml bwere I use the class MyGanttChart and apply the following css:

html .MyGanttChart,
body .MyGanttChart,
.MyGanttChart div,
.MyGanttChart span,
.MyGanttChart a,
.MyGanttChart img,
.MyGanttChart ul,
.MyGanttChart li,
.MyGanttChart form,
.MyGanttChart table,
.MyGanttChart tbody,
.MyGanttChart thead,
.MyGanttChart tr,
.MyGanttChart th,
.MyGanttChart td {
    box-sizing: initial;
}


Hope it helps,

Miguel Amado

GanttChartWeekendFixer.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.