Replaces the Jitsi-style mixed-row layout (~190 lines: partitions, mixed-size rows, per-row aspect, penalty scoring) with a simple uniform grid (~25 lines): all tiles identical px size, aspect flexes within [3:4 .. 16:9], column count chosen to maximize area via key ordering (overflow < waste < aspect closeness < -area). Key changes: - computeUniformGrid / UniformTileGrid replaces computeTileLayout/TileLayout - TILE_ASPECT_MIN widened from 9/16 to 3/4 per @matt - CSS grid with explicit px column/row tracks replaces flex rows - mx-auto centers the grid block; orphan rows have same-size tiles (never full-width giants) - Outer measuring container always mounted (bind:clientWidth/Height); inner grid gated on tileGrid - Each tile wrapper: overflow-hidden rounded-2xl (grid cell sizes it) - 'default' tile variant keeps min-h-0 h-full w-full (fills grid cell) Per @matt's approved plan v2: flex-fill single rule everywhere, no portrait special-casing, no mixed-size rows, uniform tiles, centered block. |
||
|---|---|---|
| .. | ||
| app | ||
| assets/icons | ||
| lib | ||
| routes | ||
| app.d.ts | ||
| app.html | ||
| service-worker.js | ||
| types.d.ts | ||