diff --git a/app/globals.css b/app/globals.css index 42aa009..9fe04c0 100644 --- a/app/globals.css +++ b/app/globals.css @@ -684,7 +684,17 @@ body { .pt-safe { padding-top: max(env(safe-area-inset-top), 0.75rem) } .pb-safe { padding-bottom: max(env(safe-area-inset-bottom), 0.75rem) } .pb-tabbar { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 5.25rem) } +/* Trailing room under the sticky "Freeze my deck" strip on /create. + Phones: the strip floats one tab-bar height above the viewport bottom (the + sticky bottom offset in UploadScreen), so the page only needs that much + scroll room under it — the strip settles exactly where it was already + floating, and the bottom bar is never double-counted. Keep 4.6rem in sync + with the sticky offset. Wider screens: the strip docks to the viewport + bottom and keeps the roomier 9rem. */ .pb-cta { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 9rem) } +@media (max-width: 639px) { + .pb-cta { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 4.6rem) } +} @media (display-mode: standalone) { .standalone-hide { display: none } diff --git a/public/sw.js b/public/sw.js index 24dc175..e0eb9b5 100644 --- a/public/sw.js +++ b/public/sw.js @@ -9,7 +9,7 @@ * * Bumping CACHE_VERSION is how a new deploy invalidates old assets. */ -const CACHE_VERSION = "freezmo-v6"; +const CACHE_VERSION = "freezmo-v7"; const SHELL_CACHE = `${CACHE_VERSION}-shell`; const ASSET_CACHE = `${CACHE_VERSION}-assets`;