summaryrefslogtreecommitdiff
path: root/src/lib/stats-render.source.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-22 18:22:04 +0300
committerPaul Buetow <paul@buetow.org>2026-06-22 18:22:04 +0300
commit63fbea196e34c0783526980973f33fc1b82cbe71 (patch)
tree5c57a490103dceba8bed2bef8f59467f9cbcc1f5 /src/lib/stats-render.source.sh
parent2b654d68bc450b50cfdc091912b67b0786acc57c (diff)
Cap the 2x2 feature tiles at two per page
Each tile rolled for a feature independently, so a page (or stats gallery) could fill up with large 2x2 hero tiles. append_preview_grid now counts the features it has placed and stops offering the "feature" layout to tile_layout_for once two have been used, so any single grid gets at most two feature tiles; later tiles fall back to subdivided or single. The cap is per append_preview_grid call, so it applies to both the main preview pages and the stats mini-album galleries. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'src/lib/stats-render.source.sh')
0 files changed, 0 insertions, 0 deletions