Skip to content

fix: keep the footer below the first screen on short pages - #332

Merged
matschik-usine[bot] merged 1 commit into
mainfrom
usine/footer-premier-ecran
Nov 22, 2026
Merged

matschik-usine[bot] merged 1 commit into
mainfrom
usine/footer-premier-ecran

Conversation

@matschik-usine

Copy link
Copy Markdown
Contributor

Requested by Mathieu · project thread

Summary

  • The footer no longer shows on the first screen of short pages (empty selection, 404). The header and the page content sit in a grid at least 100dvh high (auto and 1fr rows); the footer comes after it. Long pages are unchanged.
  • New Playwright test test/e2e/footer.test.ts: at 390x844 and 1440x900, on the homepage, the homepage with no framework selected, and the 404, the top of <footer> is at innerHeight or lower. Without the grid, the 404 footer rises to 645 px and 684 px and the test fails.

Test plan

  • Codex review (gpt-6.2-astra, high): GO. No scroll container, anchors and sticky elements unchanged.
  • Playwright runs in CI (Chromium). It could not run on the factory (no browser in the sandbox).

@matschik-usine
matschik-usine Bot requested a review from matschik November 22, 2026 07:09
@matschik-usine
matschik-usine Bot merged commit a31b52f into main Nov 22, 2026
2 checks passed
@matschik-usine
matschik-usine Bot deleted the usine/footer-premier-ecran branch November 22, 2026 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant