wutzcalc/client
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris cb316d16d1 tablet: fix cart scroll — flex-end + overflow-y:auto doesn't scroll in WebKit
Follow-up to the #39 fix in d274275, which mara reports still doesn't
scroll in practice.

The bug: overflow-y: auto and justify-content: flex-end on the *same* flex
column is a known WebKit/Safari interop gap — the flex-end-justified
overflow gets clipped at the container bounds instead of becoming a
scrollable region, so nothing actually changed from the user's side despite
the CSS being 'correct' per spec. This app targets iOS Safari 12+
(vite.config.ts legacy targets), squarely in the affected range.

Fix: split the concerns onto two elements. .cart-items is now a plain
overflow-y: auto scroll container with no alignment property. The new
inner .cart-items-inner wrapper carries display:flex/flex-direction:column/
justify-content:flex-end, with min-height: 100% (a floor, not a fixed
height) so it still bottom-anchors a short list but grows past 100% and
scrolls normally in the outer container once content overflows it.

Build clean.
2026-07-30 12:17:15 +02:00
..
public add svg favicon + toolbar logo; set theme before paint 2026-06-14 22:55:15 +02:00
src tablet: fix cart scroll — flex-end + overflow-y:auto doesn't scroll in WebKit 2026-07-30 12:17:15 +02:00
admin.html add svg favicon + toolbar logo; set theme before paint 2026-06-14 22:55:15 +02:00
index.html add svg favicon + toolbar logo; set theme before paint 2026-06-14 22:55:15 +02:00
package.json client: standalone /stats page with charts, off the admin dashboard 2026-07-30 11:40:34 +02:00
stats.html client: standalone /stats page with charts, off the admin dashboard 2026-07-30 11:40:34 +02:00
tsconfig.json scaffold festival drink tracker (pnpm workspace, Fastify + SQLite, Preact tablet UI, admin) 2026-05-19 18:12:01 +02:00
vite.config.ts client: standalone /stats page with charts, off the admin dashboard 2026-07-30 11:40:34 +02:00