We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a51e363 commit 97ef5a8Copy full SHA for 97ef5a8
web/src/components/ActivityCalendar.tsx
@@ -84,9 +84,10 @@ const ActivityCalendar = (props: Props) => {
84
"w-6 h-6 text-xs rounded-xl flex justify-center items-center border cursor-default",
85
"text-gray-400",
86
item.isCurrentMonth ? getCellAdditionalStyles(count, maxCount) : "opacity-60",
87
- isToday && "border-zinc-400",
88
- isSelected && "font-bold border-zinc-400",
89
- !isToday && !isSelected && "border-transparent",
+ item.isCurrentMonth && isToday && "border-zinc-400",
+ item.isCurrentMonth && isSelected && "bg-success font-bold",
+ item.isCurrentMonth && !isToday && !isSelected && "border-transparent",
90
+ !item.isCurrentMonth && "border-transparent",
91
)}
92
onClick={() => count && onClick && onClick(date)}
93
>
0 commit comments