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.

Follow-up to #194: Arabic: the plate line and the drops and bursts under a set start at the right edge, under the set's number, with the plates to strip and add at the far left, and on a 320 px screen the plate line lines up with the drops

Duarte Santosa2b3731eb9c3
diff --git a/frontend/src/index.css b/frontend/src/index.css
index 0e464b55a..3414feff1 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -1011,7 +1011,7 @@ body.chips-dragging *{cursor:inherit}
/* drop-set drops / rest-pause bursts riding on a work row, editable like the row itself
(issue: drop-sets & rest-pause) */
-.subrow{display:flex;align-items:center;gap:6px;padding:3px 0 3px 32px}
+.subrow{display:flex;align-items:center;gap:6px;padding-block:3px;padding-inline:32px 0}
/* Under an L/R row the set number already sits outside the .side-rows box, so the indent that
tucks a straight row's drops under its number would be paid twice — at 320 px both number
fields of a per-side drop collapsed to 0 px (QA C3). The label starts under the badge instead. */
@@ -1028,14 +1028,14 @@ body.chips-dragging *{cursor:inherit}
/* label 46, two minis at their floors 70 + 60, the ✕ and three gaps: 252 px with the indent — the
whole row at 320 px. The label starts under the number circle's inner edge there instead. */
@media (max-width:359px){
- .subrow{padding-inline-start:24px}
+ .subrow,.plateline{padding-inline-start:24px}
}
/* Plate line under a set row (Workout.jsx loadLine): the stack for this row's weight, what is
missing from the inventory, and what to strip/add from the row above. */
-.plateline{display:flex;align-items:center;gap:6px;padding:0 0 5px 32px;font-size:12px;color:var(--dim);line-height:1.3}
+.plateline{display:flex;align-items:center;gap:6px;padding-block:0 5px;padding-inline:32px 0;font-size:12px;color:var(--dim);line-height:1.3}
.plateline .icn{font-size:12px;flex:none;opacity:.8}
.plateline .short{color:var(--orange)}
-.plateline .moves{margin-left:auto;color:var(--label-3);font-variant-numeric:tabular-nums;white-space:nowrap}
+.plateline .moves{margin-inline-start:auto;color:var(--label-3);font-variant-numeric:tabular-nums;white-space:nowrap}
/* The number is the set's menu (drop / burst / remove); a 24px circle needs a finger-sized hit area. */
.setrow .n::before{content:'';position:absolute;inset:-10px}
/* No +/- buttons: the number field takes the whole cell and is the tap target. */