Skip to content

Native iCloud apps for Windows and Linux, built in Rust. Notes, Reminders, Calendar, Contacts, Drive and Photos, offline and in sync with your iPhone.

Calendar: room above midnight, so the now label just after 12 AM is not cut in half

Yashwanth Kamireddi64f70c94ffc3
diff --git a/src/styles/calendar.css b/src/styles/calendar.css
index f35b681..e2efc30 100644
--- a/src/styles/calendar.css
+++ b/src/styles/calendar.css
@@ -438,7 +438,8 @@
.cx-allday-lanes { position: relative; flex: 1; }
.cx-scroll { flex: 1; min-height: 0; overflow-y: auto; }
-.cx-hours-body { position: relative; display: flex; }
+/* Room above midnight and below the last hour, so a label centred on its line — "12:01 AM" just after midnight — is not cut in half by the top of the scroller. */
+.cx-hours-body { position: relative; display: flex; padding-block: 10px; }
.cx-hour-labels { position: relative; }
.cx-hour-labels span {
position: absolute;