'Change banner width in timevis with a custom CSS style

I've made a gantt chart with timevis, but because the group titles are quite long and there are lots of elements it's not fitting on the screen. I'd like the the banner that contains the group titles on the left narrower and make the text wrap. I think it would all fit on the screen at once then! Is there a way to change the width of the group title column so it's e.g. only 5% of the width of the screen?

groups <- data.frame(id = unique(gantt$group),
                     content = unique(gantt$group),
                     style = "font-weight: bold; font-size:18px")

timevis(data = gantt, groups = groups)

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source