dakboard / Cloud-Platform

Feature requests, enhancements and anything you'd like to see in DAKboard!
https://dakboard.com
168 stars 39 forks source link

Private Event CSS class (.private-event) not applied for "now" events in Up Next calendar type #2035

Closed rodkvan closed 9 months ago

rodkvan commented 9 months ago

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 9 months ago

Will be adding classes for:

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 9 months ago

Merged in @ 009a6c2 and added to the queue for upcoming release to the live site.