Client - display today cell w/ different color
This commit is contained in:
parent
e386f466ae
commit
3be8783ee3
@ -741,6 +741,10 @@ label {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
.calendar .body .today {
|
||||
background: #eff1f3;
|
||||
}
|
||||
|
||||
.calendar-activity,
|
||||
.calendar-more {
|
||||
display: none;
|
||||
|
@ -8,6 +8,7 @@ import {
|
||||
format,
|
||||
isSameDay,
|
||||
isSameMonth,
|
||||
isToday,
|
||||
startOfMonth,
|
||||
startOfWeek,
|
||||
subMonths,
|
||||
@ -110,7 +111,12 @@ class Calendar extends React.Component {
|
||||
? [5, 6].includes(i)
|
||||
: [0, 6].includes(i)
|
||||
days.push(
|
||||
<div className={`col cell ${isWeekEnd ? ' weekend' : ''}`} key={day}>
|
||||
<div
|
||||
className={`col cell ${isWeekEnd ? ' weekend' : ''}${
|
||||
isToday(day) ? ' today' : ''
|
||||
}`}
|
||||
key={day}
|
||||
>
|
||||
<div className={`img${isDisabled}`}>
|
||||
<span className="number">{formattedDate}</span>
|
||||
<CalendarActivities
|
||||
|
Loading…
Reference in New Issue
Block a user