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.

css: drop the minifier claim from the tab-bar fix — it is not true

Duarte Santos810453993242
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ba9df62d9..f6648aef1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -59,12 +59,13 @@ which turned out to be worse than they looked from the outside.
weight, and every point without one was dropped, so a full history read as "No data yet". When
nothing in an exercise's history was ever loaded, the reps are the progress — so that is what
is plotted now. Add a weighted set later and it switches back to weight. (issue #5)
-- 🫥 **The tab bar was see-through in Firefox** — and only there. The CSS minifier collapses a
- `backdrop-filter` / `-webkit-backdrop-filter` pair down to whichever comes last, so the
- standard property never reached the build and Firefox got the transparency without the blur.
- Fixed for all five blurred surfaces. The bar is also more opaque now (94%, up from 72%) and
- blurs less, which is faster on Android, where a blur behind a fixed element is recomposited on
- every scroll frame.
+- 🫥 **The tab bar was see-through.** At 72% opacity the page read straight through it and the
+ labels competed with whatever was scrolling behind them — nobody needs to read the content
+ under a navigation bar. It is 94% now in both themes, and blurs less, which is also faster on
+ Android, where a blur behind a fixed element is recomposited on every scroll frame. Where
+ `backdrop-filter` is unavailable at all — old Android WebViews, "reduce transparency" — the
+ blurred surfaces now go fully opaque instead of leaving just the alpha, which was the worst of
+ both. (reported by mflova, seconded by seals187)
- 📥 **No Smith-machine exercise could ever match on import.** The `machine → lever` rule ran
before `smith machine → smith`, so the generic one ate the word first. Hevy's vocabulary is
now mapped as well, and exercises it cannot match take their body part from the name instead of
diff --git a/frontend/src/index.css b/frontend/src/index.css
index e67479714..76cb5c782 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -323,12 +323,9 @@ h4.sec{
}
@keyframes ping{0%{transform:scale(1);opacity:.7}100%{transform:scale(1.45);opacity:0}}
-/* NOTE on every backdrop-filter pair in this file: the -webkit- line comes FIRST and the
- standard property SECOND. The CSS minifier dedupes the pair down to whichever is written
- last, so with the usual order (standard first) the build shipped -webkit-backdrop-filter
- alone — and Firefox, which only understands the unprefixed property, got no blur at all,
- just the alpha. That is what made the tab bar read as see-through there. Do not "tidy"
- the order back.
+/* NOTE on every backdrop-filter pair in this file: the -webkit- line comes first and the
+ standard property last, which is the order a prefixed/standard pair wants — whichever is
+ written last wins in the cascade, and that should be the standard name.
Where backdrop-filter is genuinely unsupported there is no glass either — only the alpha,
and the page shows through unblurred, which is the worst of both. Older Android WebViews