Skip to content

Commit

Permalink
🔧 chore(Timeline): width activities update
Browse files Browse the repository at this point in the history
  • Loading branch information
MetalPrime committed Apr 2, 2024
1 parent ac91e89 commit 67f12c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion marlo-web/src/main/webapp/crp/js/home/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ const setStatusColor = (status) => {
}

function setWidth(amount) {
return `calc(${amount !==undefined? (amount === 0? 3: amount+1)+"*(80vw / 7))": "calc(80vw / 7)"}`;

return `calc(${amount !==undefined? (amount === 0? 3: amount)+"*(80vw / 7))": "calc(80vw / 7)"}`;
}

function setDistances(startDate,isToday, isJS,endDate) {
Expand Down

0 comments on commit 67f12c2

Please sign in to comment.