diff --git a/src/changelog.json b/src/changelog.json index b5be88d..558dab0 100644 --- a/src/changelog.json +++ b/src/changelog.json @@ -1,4 +1,5 @@ [ + { "date": "2026-07-13", "text": "The day picker is a bar frozen at the top of the page" }, { "date": "2026-07-13", "text": "Attach multiple photos to an event — the photo picker now also offers the gallery with multi-select" }, { "date": "2026-07-13", "text": "Track food by weight: logging a meal asks for grams (optional), with a daily total in the overview and a weekly chart" }, { "date": "2026-07-12", "text": "Browse the full changelog from the bottom of the page" }, diff --git a/src/index.html b/src/index.html index cc78b61..b7f2b0c 100644 --- a/src/index.html +++ b/src/index.html @@ -77,6 +77,13 @@
+
+ + + + +
+ -
- - - - -
-

Today's overview

diff --git a/src/style.css b/src/style.css index d0db350..e86368e 100644 --- a/src/style.css +++ b/src/style.css @@ -122,15 +122,28 @@ section { padding: 16px; } -.big-clock { - text-align: center; - padding: 24px 16px; +/* Paints over the notch/status-bar strip so content scrolling behind the + sticky day bar never peeks through above it. Zero-height where there is no + safe-area inset. */ +body::before { + content: ""; + position: fixed; + top: 0; + left: 0; + right: 0; + height: env(safe-area-inset-top, 0px); + background: var(--bg); + z-index: 65; } .day-bar { + position: sticky; + top: env(safe-area-inset-top, 0px); + z-index: 60; display: flex; gap: 8px; align-items: center; + flex-wrap: wrap; padding: 8px 10px; } .day-bar input[type="date"] { @@ -146,6 +159,10 @@ section { opacity: 0.4; cursor: not-allowed; } +.big-clock { + text-align: center; + padding: 24px 16px; +} .big-clock .bc-label { font-size: 0.8rem; text-transform: uppercase;