chore: style fix to #4151 (#4153)

* chore: apply styles to the correct month

* chore: style fix
pull/4159/head
KidLoveToPlay 6 months ago committed by GitHub
parent 97ef5a8871
commit 73d13cb97b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -85,7 +85,7 @@ const ActivityCalendar = (props: Props) => {
"text-gray-400",
item.isCurrentMonth ? getCellAdditionalStyles(count, maxCount) : "opacity-60",
item.isCurrentMonth && isToday && "border-zinc-400",
item.isCurrentMonth && isSelected && "bg-success font-bold",
item.isCurrentMonth && isSelected && "font-bold border-zinc-400",
item.isCurrentMonth && !isToday && !isSelected && "border-transparent",
!item.isCurrentMonth && "border-transparent",
)}

Loading…
Cancel
Save