Private Event CSS class (.private-event) not applied for "now" events in Up Next calendar type
Closed this issue · 2 comments
rodkvan commented
Describe the bug
.private-event is applied to all private events in the future but not for "now" events. This means the CSS from here only hides the details for future events and not "now" events.
To Reproduce
Ensure a private event is occuring "now" in Up Next calendar type.
Expected behavior
.private-event should be applied to future and "now" private events.
Dan-Peck commented
Will be adding classes for:
private-event
directly on theday-now
containerevent-summary
on thebig
containersummary-text
around the event description text
Once released, the following CSS is one approach to replacing the text of "now" private events on the Up Next calendar:
.calendar-schedule .day-now .private-event {
font-size: 0;
}
.calendar-schedule .day-now.private-event .event-summary:before {
content: "PRIVATE";
font-size: initial;
}
Dan-Peck commented
Merged in @ 009a6c2 and added to the queue for upcoming release to the live site.