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
Workout summary: a close button at the top
Daniel Patrón Gómez81f9c88f809a
diff --git a/frontend/src/index.css b/frontend/src/index.cssindex 6eb66341d..17c075b66 100644--- a/frontend/src/index.css+++ b/frontend/src/index.css@@ -1537,6 +1537,8 @@ body.no-tabbar #timer.working{box-shadow:inset 0 var(--hair) 0 var(--acc),0 -10p:root[data-theme="light"] .center{background:#fff}/* a dialog with real content in it (the workout summary) takes the width of the phone */.center.wide{width:min(94vw,440px);padding:18px}+.fin-x{position:sticky;top:0;z-index:2;height:0;display:flex;justify-content:flex-end}+.fin-x .iconbtn{margin:-6px -6px 0 0}/* a dialog with a field centres in what the Android 15 keyboard leaves */:root[data-native-kb] .center{top:calc((100% - var(--native-kb)) / 2);diff --git a/frontend/src/sheets.jsx b/frontend/src/sheets.jsxindex 3514d31d0..3d8d91683 100644--- a/frontend/src/sheets.jsx+++ b/frontend/src/sheets.jsx@@ -3308,6 +3308,8 @@ function CardioDone({ st, w }) {function FinishSummary({ w, prs, e1prs = [], close }) {const st = useStore(s => s.S)return <div style={{ textAlign: 'center', padding: '8px 0' }}>+ {/* Sticky, so the summary can be left from the top however far it has been scrolled. */}+ <div className="fin-x"><button type="button" className="iconbtn" aria-label={t('Close')} onClick={() => closeThenNav(close, '/home')}><Icon name="xmark" /></button></div><div style={{ fontSize: 44, display: 'flex', justifyContent: 'center', color: 'var(--acc)' }}><Icon name="trophy" /></div><h3 style={{ margin: '8px 0' }}>{t('Workout complete!')}</h3><div className="tiles fin" style={{ textAlign: 'start' }}>