Unwrap event titles in calendar view
All checks were successful
Java CI with Maven / build (push) Successful in 41s

This commit is contained in:
Sebastian Böckelmann 2023-11-12 22:01:52 +01:00
parent cfd1bfe7cb
commit 6cdf069b38
3 changed files with 8 additions and 0 deletions

View File

@ -55,3 +55,6 @@ app-task-overview {
color: white; color: white;
} }
::ng-deep .cal-event-title {
white-space: normal;
}

View File

@ -99,6 +99,7 @@ export class DraggableSchedulerComponent {
this.events.push({ this.events.push({
title: this.computeTaskPath(schedule.taskgroupPath, schedule.task), title: this.computeTaskPath(schedule.taskgroupPath, schedule.task),
color: colors['red'], color: colors['red'],
cssClass: 'test',
start: new Date(advancedSchedule.scheduleStartTime), start: new Date(advancedSchedule.scheduleStartTime),
end: new Date(advancedSchedule.scheduleStopTime), end: new Date(advancedSchedule.scheduleStopTime),
draggable: true, draggable: true,
@ -126,6 +127,7 @@ export class DraggableSchedulerComponent {
color: colors['yellow'], color: colors['yellow'],
start: new Date(), start: new Date(),
draggable: true, draggable: true,
cssClass: 'test',
resizable: { resizable: {
beforeStart: true, beforeStart: true,
afterEnd: true afterEnd: true

View File

@ -26,3 +26,6 @@
width: 100%; width: 100%;
} }
::ng-deep .cal-event-title {
white-space: normal;
}