From 1fc26cee4053b5365a050f0848cee8b9d6a5d513 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 22 Jun 2026 22:46:06 +0300 Subject: 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 --- tests/cli.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/cli.sh') 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 'CLI 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">⇒' \ -- cgit v1.2.3