summaryrefslogtreecommitdiff
path: root/src/lib/random.source.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-25 17:44:37 +0300
committerPaul Buetow <paul@buetow.org>2026-06-25 17:44:37 +0300
commitbef8a7af35174ebb065f240aacf3c51ccf50d460 (patch)
tree25414e675e2040890cd8115aa70761e29f70c425 /src/lib/random.source.sh
parent12b2733dab6da12a2a6cf1d27d69bc7d143f5dfc (diff)
Fill the album's short final page with a full-row tile
A short final preview page (e.g. one leftover photo when the photo count isn't a multiple of the page size) can't be aligned to a multiple of 12 cells, so it left an orphaned bottom-right corner. The album's LAST page now widens its leftover final single tile into a "fill" tile spanning the whole row (grid-column: 1 / -1) at any breakpoint, so the bottom edge is flush; object-fit: cover keeps the wider crop undistorted. append_preview_grid takes a fill_last flag: render_full_preview_page sets it only for the page with no "next" link; stats mini-albums pass 'no' so their small galleries are unaffected. build_tile_block gains a 'fill' layout and header.tmpl an a.fill-row rule. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'src/lib/random.source.sh')
0 files changed, 0 insertions, 0 deletions