'how to make event title appear in multiple lines full calendar version 5 (resource timeline view)

this is my initial view of calendar

initialView: 'resourceTimelineFiveDays',

Here is my code . I have added white space to be normal, even then its not working. I don't know the error.

.fc-event-title{
white-space: normal;
},
.fc-event-title-container{
height:25px;
white-space: normal;
}


Solution 1:[1]

simple you can use html Tag '< br >' new Line for example: let title = "invoice "+ 1556 + '< br >'+ 'Total Value'+'$1500';

Sources

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

Source: Stack Overflow

Solution Source
Solution 1