Our state of the art Gantt chart


Post by ahmed.farahat »

Hi,

i wanted to change the font folder locations in the css so i opened the css file gantt.stockholm.css when i tried to find the font-face lines i could find more than 6 blocks of identical css code in the file, is there a reason for this?, considering the huge file size of 26,000 lines unminified it looks to me like something is not right there, below is a screenshot of part of the code duplicate i can see, there is more than that i could find, can you please explain the reason for this?

Screenshot from 2022-09-12 16-35-11.png
Screenshot from 2022-09-12 16-35-11.png (83.65 KiB) Viewed 141 times

Post by alex.l »

That's a bug, thank you for the report. Here is a ticket https://github.com/bryntum/support/issues/5221
You can just add extra css file with rule override, no need to edit sources. Here are examples how to change font https://bryntum.com/docs/gantt/guide/Grid/customization/iconfont , so you only need to change content of your custom css file.

All the best,
Alex


Post Reply