347
347
.button-group form { margin: 0; }
348
348
.button-group input[type="submit"] { width: 100%; }
349
349
350
-
Removed:
/* A movement's fields as one compact grid row: exercise name, load, reps. On
351
-
Removed:
mobile all three sit on one line — the name takes the remaining space and the
352
-
Removed:
two numeric inputs take fixed, tap-friendly columns — so a set fits without
353
-
Removed:
scrolling. The [.field] top margin is dropped here; the grid handles spacing.
354
-
Removed:
The name column spans the full width above the inputs only when it would
355
-
Removed:
otherwise be too cramped, at the narrowest widths. */
356
-
Removed:
.exercise-fields {
350
+
Added:
/* One responsive grid for the whole logging fieldset. Every movement's name,
351
+
Added:
load, and reps line up in the same three columns — the name takes the
352
+
Added:
remaining space, the two numeric inputs take fixed, tap-friendly columns — so
353
+
Added:
a set fits on one line without scrolling. A [.movement] wrapper groups a
354
+
Added:
movement's cells for the markup but opens no nested grid ([display:
355
+
Added:
contents]), so all rows share this one grid. The [.field] top margin is
356
+
Added:
dropped here; the grid gap handles spacing. */
357
+
Added:
.logging-grid {
357
358
display: grid;
358
359
grid-template-columns: minmax(0, 1fr) 5.5rem 5.5rem;
359
360
align-items: end;
360
-
Removed:
gap: 0.6rem;
361
+
Added:
gap: 0.6rem 0.6rem;
361
362
margin-top: 1rem;
362
363
}
363
-
Removed:
.exercise-fields .exercise-name { margin: 0; align-self: center; }
364
-
Removed:
.exercise-fields .field { margin-top: 0; }
364
+
Added:
.movement { display: contents; }
365
+
Added:
.logging-grid .exercise-name { margin: 0; align-self: center; }
366
+
Added:
.logging-grid .field { margin-top: 0; }
367
+
Added:
/* The Ending control spans the full width below the movement rows. */
368
+
Added:
.logging-grid .field-ending { grid-column: 1 / -1; margin-top: 0.4rem; }
365
369
366
370
/* A shared heading row: the Load and Reps column headings shown once above a
367
-
Removed:
multi-exercise group, so the labels are not repeated above every input. */
368
-
Removed:
.exercise-fields-head { margin-top: 1rem; align-items: end; }
371
+
Added:
multi-exercise group, so the labels are not repeated above every input. The
372
+
Added:
cells sit in the same grid columns as the movement inputs below them. */
369
373
.col-heading {
370
374
color: var(--ink);
371
375
font-size: var(--font-size-small);
372
376
font-weight: 700;
377
+
Added:
align-self: end;
373
378
}
374
-
Removed:
.exercise-fields-head + .exercise-fields { margin-top: 0.4rem; }
375
379
376
380
/* Visually hidden but available to assistive technology: the per-input labels
377
381
stay for screen readers while the visible headings carry the column names. */