Merge branch 'fixBorders'

main
Manuel Tauber 2024-02-09 13:30:07 +01:00
commit 6d4fced7b4
3 changed files with 12624 additions and 34 deletions

12623
frontend/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -770,7 +770,19 @@ export class NttGanttComponent implements OnInit {
*/
public queryTaskbarInfo(args: any) {
if (args.taskbarType == 'Milestone' && args.data.taskData.TaskID.includes("D2"))
{
console.log(args.taskbarElement.children[1].style.add);
args.taskbarElement.children[1].classList.add('e-gantt-milestone-border1');
// console.log(args.taskbarElement.children[1]);
// args.taskbarElement.children[1].children[0].classList.add('e-gantt-milestone-border');
// args.taskbarElement.children[1].children[1].classList.add('e-gantt-milestone-border');
}
else{
if(args.taskbarType == 'Milestone'){
args.taskbarElement.children[1].classList.add('e-gantt-milestone-border')
}
}
if(args.data.taskData.isRes == false){
if(args.data.taskData.TaskID.includes("D2")){

View File

@ -25,9 +25,24 @@
background-color: #E0E0E0 !important;
} */
/* .e-gantt-milestone-border {
border: 2px solid red !important;
} */
.e-gantt-milestone-border {
/* border: 2px solid red !important; */
border-radius: 50%;
/* border-top-width: 1px; */
color: red;
background-color: transparent !important;
}
.e-gantt-milestone-border1 {
/* border: 2px solid red !important; */
border-radius: 30%;
color: red;
background-color: #9e9e9b !important;
}
</style>
<style>