Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.
JavaScript apple-watchbodyweightdockerfitnessfitness-trackergymhealthiosmcpnodejspasskeysprogressive-web-applicationspwareactself-hostedself-hostingvitewebauthnweightliftingworkout-tracker
Fix exercise-config sheet overflowing on narrow phones (#10)
Duarte Santosb9f8d18bbd93
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 8ca5f6766..80abdbd99 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,13 @@# Changelog+## v1.1.2 — 2026-07-21++- 📱 Fixed the exercise-config sheet (Sets / Reps / Weight, and the cardio variant) overflowing the+ screen edge on narrow phones — the Weight stepper was clipped and could make the whole page pan+ sideways in iOS Safari. Steppers now shrink to fit the viewport. (#10)+- 🛡️ Added a global horizontal-overflow guard so a single too-wide element can no longer knock the+ page layout off-scale.+## v1.1.1 — 2026-07-21Reliability fixes for the push notifications shipped in v1.1.0, found through live testing:diff --git a/frontend/src/index.css b/frontend/src/index.cssindex 23a7a5921..9f7e2dea0 100644--- a/frontend/src/index.css+++ b/frontend/src/index.css@@ -29,11 +29,11 @@ button,.chip,.tile,.item,.wday,.cal-d,.ck,.swatch,.emoji-cell,.hm-c,#tabbar,.ste@media (prefers-reduced-motion: reduce){*{animation:none!important;transition:none!important}}/* html carries the theme background too, so the iOS scroll-lock (position:fixed on body)can never expose a grey strip below the app when a modal opens */-html{font-size:16px;background:var(--bg);overscroll-behavior:none}+html{font-size:16px;background:var(--bg);overscroll-behavior:none;overflow-x:clip}body{background:var(--bg); color:var(--txt);font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',Roboto,sans-serif;- min-height:100vh; overscroll-behavior-y:none;+ min-height:100vh; overscroll-behavior-y:none; overflow-x:clip;-webkit-font-smoothing:antialiased; touch-action:manipulation;}button{font:inherit;color:inherit;background:none;border:none;cursor:pointer}@@ -144,6 +144,12 @@ a{color:var(--acc)}.step input{width:58px;text-align:center;background:none;border:none;font-size:1.05rem;font-weight:700;outline:none;-moz-appearance:textfield;appearance:textfield}.step input::-webkit-inner-spin-button{display:none}+/* exercise-config sheet: three steppers side by side must shrink to fit narrow phones */+.cfgrow{gap:8px}+.cfgrow>div{flex:1;min-width:0}+.cfgrow .step button{width:32px}+.cfgrow .step input{width:100%;min-width:0}+.cfgrow .small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}/* ---------- workout ---------- */.wprog{height:5px;background:var(--bg2);border-radius:99px;overflow:hidden;margin-bottom:14px}diff --git a/frontend/src/sheets.jsx b/frontend/src/sheets.jsxindex 7166715f7..9bac6dc3f 100644--- a/frontend/src/sheets.jsx+++ b/frontend/src/sheets.jsx@@ -258,7 +258,7 @@ function ExConfig({ ex, existing, onSave, onDelete, close }) {{cardio && <span className="tag acc">🏃 Cardio</span>}<span className="tag">{ex.tg || ex.bp}</span><span className="tag">{ex.eq}</span></div>- <div className="row" style={{ justifyContent: 'space-around', marginBottom: 18 }}>+ <div className="row cfgrow" style={{ marginBottom: 18 }}>{cardio ? <><Stepper label="Intervals" value={c.sets} step={1} decimal={false} onChange={v => setC(x => ({ ...x, sets: v }))} /><Stepper label="Minutes" value={c.min} step={1} decimal={false} onChange={v => setC(x => ({ ...x, min: v }))} />