Added schedule load to daily veiw with additional CSS fixes. BOD-319
This commit is contained in:
@@ -100,14 +100,17 @@ export function ScheduleCalendarHeaderComponent({
|
||||
</div>
|
||||
</Popover>
|
||||
) : null;
|
||||
console.log("loadData", loadData);
|
||||
|
||||
return (
|
||||
<ScheduleBlockDay date={date} refetch={refetch}>
|
||||
<div>
|
||||
{label}
|
||||
{calculating ? <LoadingSkeleton /> : LoadComponent}
|
||||
</div>
|
||||
</ScheduleBlockDay>
|
||||
<div className="imex-calendar-load">
|
||||
<ScheduleBlockDay date={date} refetch={refetch}>
|
||||
<div>
|
||||
{label}
|
||||
{calculating ? <LoadingSkeleton /> : LoadComponent}
|
||||
</div>
|
||||
</ScheduleBlockDay>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
export default connect(
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
@import "react-big-calendar/lib/sass/styles";
|
||||
|
||||
.rbc-time-view .rbc-row {
|
||||
box-sizing: unset !important;
|
||||
min-height: unset !important;
|
||||
.rbc-time-header-cell-single-day {
|
||||
display: unset;
|
||||
}
|
||||
.rbc-time-view .rbc-allday-cell {
|
||||
height: unset;
|
||||
}
|
||||
|
||||
.imex-event-arrived {
|
||||
@@ -20,3 +22,9 @@
|
||||
.rbc-event.rbc-selected {
|
||||
background-color: slategrey;
|
||||
}
|
||||
.imex-calendar-load {
|
||||
max-width: 12rem;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user