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)
This commit is contained in:
1 parent
69fd4a8344
commit
10b9598af4
1 file changed
+13
@@ -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}
|
||||
|
||||
|
||||
Reference in new issue
Block a user