almende / vis

⚠️ This project is not maintained anymore! Please go to https://github.com/visjs
7.85k stars 1.48k forks source link

How to set the height of the group container to a constant height. #1903

Closed Kaliph closed 8 years ago

Kaliph commented 8 years ago

example2 Hi there. I am experimenting with the vis timeline and node.js and at the moment I would like to set the group height to a fixed height, because if no items are displayed in the timeline all the containers for the groups shrink to a smaller size. I would like to have the size always as high as when there is an item displayed. Can someone please tell me where I can edit this behavious... Think I have to edit something in the vis.css isn´t it? Thanks for helping Br Kaliph

Kaliph commented 8 years ago

I have solved it using minHeight on this element in vis.css .vis-label .vis-inner

https://github.com/almende/vis/issues/1428