diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-22 22:46:06 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-22 22:46:06 +0300 |
| commit | 1fc26cee4053b5365a050f0848cee8b9d6a5d513 (patch) | |
| tree | a0202403dc64bae93dde338701294763e896a8af /tests/cli.sh | |
| parent | d23e2e8e7debdc7ff76f4722e4a4b1f3ffe9c05c (diff) | |
Fill the window width with the thumbnail grid; even header/footer spacing
The overview grid used fixed-width centred columns, leaving large empty
margins left and right on wide screens. Switch it to
repeat(auto-fill, minmax(THUMBHEIGHT, 1fr)) so the columns grow to fill
the full window width (THUMBHEIGHT becomes the minimum cell width), with
aspect-ratio:1 keeping every cell square so the 2x2 feature and
subdivided tiles stay square. Also drop the browser's default body margin
so the space above the header and below the footer matches the small gaps
between the header, grid and footer.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'tests/cli.sh')
| -rwxr-xr-x | tests/cli.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cli.sh b/tests/cli.sh index 006937a..6dfac0a 100755 --- a/tests/cli.sh +++ b/tests/cli.sh @@ -515,7 +515,8 @@ test_generate_cli_overrides_config_values() { test::assert_path_absent "$TEST_TMPDIR/config-dist" test::assert_find_count 0 "$TEST_TMPDIR/cli-dist" '*.tar' test::assert_contains '<title>CLI title</title>' "$page_html" - test::assert_contains 'height: 45px;' "$page_html" + # THUMBHEIGHT is the grid's minimum cell width (columns grow to fill). + test::assert_contains 'minmax(45px, 1fr)' "$page_html" test::assert_contains 'max-height: 456px;' "$view_html" test::assert_contains 'Next 1 pictures' "$page_html" test::assert_contains 'href="page-2.html" class="arrow">⇒</a>' \ |
