Skip to content

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.

Plan: the mode control gets its own line instead of wrapping, the Arabic day names keep one column, the Stats card clears the banners

Duarte Santosa726b1d4a0b1
diff --git a/frontend/src/index.css b/frontend/src/index.css
index fb3344398..97e0de3e4 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -1738,6 +1738,10 @@ body.chips-dragging *{cursor:inherit}
.plan-views{margin-bottom:18px}
.plan-views button{min-height:34px;font-size:15px}
.plan .plan-mode .lrow-t{white-space:nowrap}
+/* The control takes the rest of the row when it fits, and a full line of its own when it does
+ not, rather than squeezing "Fixed Week" onto two lines. */
+.plan-mode .seg-inline{flex:1 1 200px;min-width:0}
+.plan-mode .seg-inline button{white-space:nowrap}
.plan-mode-locked{margin-inline-start:auto;text-align:end}
.plan-sec-h{margin:22px 0 8px;gap:8px}
.plan-sec-h h4.sec{margin:0}
@@ -1747,8 +1751,10 @@ body.chips-dragging *{cursor:inherit}
.plan .sect-f{margin:0 0 4px}
.plan .list+.sect-f{padding-top:8px}
/* a weekday: short day name, the routine's glyph (a moon on a rest day), what is on it */
-.plan-day-n{width:30px;flex:none;font-size:15px;font-weight:600;color:var(--label-2)}
+.plan-day-n{min-width:30px;flex:none;white-space:nowrap;font-size:15px;font-weight:600;color:var(--label-2)}
.plan-day-n.today{color:var(--acc)}
+/* Arabic names the whole day: one column wide enough for the longest keeps the glyphs aligned */
+[dir="rtl"] .plan-day-n{min-width:88px}
.item .lrow-i.rest{background:var(--surface-3);color:var(--label-2)}
/* the loop: a numbered position, lit when up next, a tick once done this round */
.plan-order{
@@ -1771,6 +1777,8 @@ body.chips-dragging *{cursor:inherit}
.plan [data-reorder-row]{transition:transform var(--fast) var(--ease)}
.plan-link{margin-top:24px}
.plan-empty{padding:28px 20px}
+/* Stats: the card Plan links to clears the sticky banners when it is scrolled to */
+#weekly-volume{scroll-margin-top:calc(var(--sat) + var(--conn) + 96px)}
/* ----------------------------------------------------------- RTL (Arabic) -- */
/* Directional icons flip: back chevrons point right, trailing chevrons point left. */