From 10b9598af404c121064730aaf10a975ba0762b59 Mon Sep 17 00:00:00 2001 From: Duarte Santos Date: Thu, 17 Sep 2026 11:34:44 +0200 Subject: [PATCH] =?UTF-8?q?One-sided=20rows=20with=20an=20effort=20column:?= =?UTF-8?q?=20the=20reps=20number=20is=20visible=20again=20on=20narrow=20p?= =?UTF-8?q?hones=20=E2=80=94=20the=20stepper=20buttons=20had=20taken=20the?= =?UTF-8?q?=20whole=20cell=20at=20368=20px=20(#235)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/index.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/frontend/src/index.css b/frontend/src/index.css index c35aa7d..d8d149a 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}