mirror of
https://github.com/usememos/memos.git
synced 2025-10-11 14:56:36 +08:00
* chore: apply styles to the correct month * chore: style fix
This commit is contained in:
parent
97ef5a8871
commit
73d13cb97b
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ const ActivityCalendar = (props: Props) => {
|
||||||
"text-gray-400",
|
"text-gray-400",
|
||||||
item.isCurrentMonth ? getCellAdditionalStyles(count, maxCount) : "opacity-60",
|
item.isCurrentMonth ? getCellAdditionalStyles(count, maxCount) : "opacity-60",
|
||||||
item.isCurrentMonth && isToday && "border-zinc-400",
|
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 && !isToday && !isSelected && "border-transparent",
|
||||||
!item.isCurrentMonth && "border-transparent",
|
!item.isCurrentMonth && "border-transparent",
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Add table
Reference in a new issue