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.

One-sided rows with an effort column: the reps number is visible again on narrow phones — the stepper buttons had taken the whole cell at 368 px (#235)

Duarte Santos10b9598af404
diff --git a/frontend/src/index.css b/frontend/src/index.css
index c35aa7d56..d8d149af8 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -783,6 +783,19 @@ body.chips-dragging *{cursor:inherit}
width:24px;height:24px;border-radius:8px;background:var(--surface-2);color:var(--label-3);
display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;flex:none;
}
+/* A one-sided row with an effort column is the tightest line in the app: set number, L/R badge,
+ two steppers, effort, tick. On a narrow phone the reps stepper's two buttons took all of its
+ width and the number between them was gone (issue #235, 368 px). The number outranks the
+ buttons here: slimmer buttons, tighter gaps, and reps gets the same share as the weight. */
+.setrow-side .setrow.side.eff3{gap:4px}
+.setrow-side .setrow.side.eff3 .stp.r{flex:1.4}
+.setrow-side .setrow.side.eff3 .effcell{flex:.6 1 0}
+.setrow-side .setrow.side.eff3 .stp.w button,.setrow-side .setrow.side.eff3 .stp.r button{width:20px}
+@media (max-width:400px){
+ .setrow-side{gap:5px}
+ .setrow-side .setrow.side.eff3 .sidetag{width:20px}
+ .setrow-side .setrow.side.eff3 .stp.w button,.setrow-side .setrow.side.eff3 .stp.r button{width:18px}
+}
.setrow.side.done .sidetag{background:var(--acc);color:var(--on-acc)}
.setrow.side.done{opacity:.45}