UI fixes found while testing the workout flow

· The rest timer floats above the tab bar, so it covered the set rows
  underneath it — during a rest, the next set was behind the bar. The page
  now gets enough bottom padding while a rest runs to scroll clear of it.
· "Skip today", sitting right under "Save & start workout", reads like
  skipping the session rather than the weigh-in. It says "Start without
  weighing in".
· The calendar legend drew "Planned" in blue while planned days have
  always had a grey dot.
· Body weight showed "− 0" when it hadn't moved since the last weigh-in.
· In a superset both exercises are on screen at once, so their animations
  give way: 180px meant scrolling a full screen between two exercises you
  are meant to alternate.
This commit is contained in:
Duarte Santos committed 2026-07-24 23:45:36 +02:00
1 parent 43d5495007
commit 827c0f8505
4 files changed
+17 -5

No files matched your search

+5 -1
View File
@@ -165,6 +165,8 @@ button,.chip,.tile,.item,.wday,.cal-d,.swatch,.hm-c,.lrow,.seg button,.stp butto
padding:calc(var(--sat) + 8px) var(--pad) calc(128px + var(--sab));
max-width:560px;margin:0 auto;
}
/* while the rest timer floats above the tab bar, keep its height scrollable-past */
body.resting #app{padding-bottom:calc(206px + var(--sab))}
@keyframes viewfade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
#app.vfade{animation:viewfade var(--med) var(--ease)}
@@ -525,7 +527,9 @@ h4.sec{
.exmedia .gifhint{right:9px}
.exmedia .giftoggle{left:9px}
.exmedia .gifhint .icn,.exmedia .giftoggle .icn{font-size:13px}
.exmedia.compact img{height:180px}
/* superset: both exercises are on screen together, so the animations have to give way —
at 180px you had to scroll a full screen between two exercises done back-to-back */
.exmedia.compact img{height:120px}
.exmedia.mini img{height:84px}
.sethead{