v1.1.0:6 — exercise history popup scrolls further

The clock-icon popup in the workout editor was capped at max-h-80
(~320px = ~5 history rows). Users with multi-year history saw older
sessions hidden behind a tiny inner scrollbar. Bumped to 70vh so it
scales with the viewport — ~15+ rows on a normal display, more on a
large monitor.

The IntersectionObserver pagination already loaded more rows on
demand; the old cap just kept them off-screen.

Pure CSS-class change. No schema, no API, no data.
This commit is contained in:
Keysat
2026-05-13 09:28:32 -05:00
parent 35539a9341
commit 01529204cb
3 changed files with 37 additions and 2 deletions
@@ -112,7 +112,12 @@ function ExerciseHistoryPopup({
return (
<div
ref={popupRef}
className="absolute left-0 right-0 top-full mt-1 z-50 bg-zinc-900 border border-zinc-700 rounded-lg shadow-xl max-h-80 overflow-y-auto"
/* v1.1.0:6 — bump from max-h-80 (~320px, ~5 rows) to 70vh so
power users with multi-year history can scroll through ~15+
sessions without the popup feeling cramped. The
IntersectionObserver already loads more on demand; the old cap
just hid pages of data behind a tiny scrollbar. */
className="absolute left-0 right-0 top-full mt-1 z-50 bg-zinc-900 border border-zinc-700 rounded-lg shadow-xl max-h-[70vh] overflow-y-auto"
>
<div className="flex items-center justify-between px-3 py-2 border-b border-zinc-800 sticky top-0 bg-zinc-900 z-10">
<span className="text-xs font-semibold text-zinc-400 uppercase tracking-wider">